{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "colab": {
      "name": "app_predictionMH.ipynb",
      "provenance": []
    },
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3"
    }
  },
  "cells": [
    {
      "cell_type": "code",
      "metadata": {
        "id": "LwUziM_lQ5ch",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 51
        },
        "outputId": "9fd1121d-c441-4d44-cef2-41e5fae633c4"
      },
      "source": [
        "#LOAD THE NECESSARY PACKAGES\n",
        "import pandas as pd\n",
        "import numpy as np\n",
        "import matplotlib.pyplot as plt\n",
        "import seaborn as sns"
      ],
      "execution_count": 1,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "/usr/local/lib/python3.6/dist-packages/statsmodels/tools/_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.\n",
            "  import pandas.util.testing as tm\n"
          ],
          "name": "stderr"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "-QUP4mBzRpZA",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "train=pd.read_csv(\"Train.csv\")\n",
        "test=pd.read_csv(\"Test.csv\")"
      ],
      "execution_count": 2,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "xlInLsDoRxjM",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 204
        },
        "outputId": "cb08715e-185f-43e6-b9a2-e995a4dd265c"
      },
      "source": [
        "train.head()"
      ],
      "execution_count": 3,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>Last_Updated_On</th>\n",
              "      <th>Release_Version</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "      <th>Downloads</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>ps_id-24654</td>\n",
              "      <td>Finance</td>\n",
              "      <td>4.18</td>\n",
              "      <td>1481</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>May 05 2020</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>100,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>ps_id-35329</td>\n",
              "      <td>Music And Audio</td>\n",
              "      <td>4.81</td>\n",
              "      <td>302</td>\n",
              "      <td>10M</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>Mar 26 2020</td>\n",
              "      <td>3.9.18</td>\n",
              "      <td>4.1 and up</td>\n",
              "      <td>5,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>ps_id-11044</td>\n",
              "      <td>Game Casual</td>\n",
              "      <td>4.27</td>\n",
              "      <td>374</td>\n",
              "      <td>27M</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>May 01 2020</td>\n",
              "      <td>1.10.1</td>\n",
              "      <td>4.1 and up</td>\n",
              "      <td>10,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>ps_id-36068</td>\n",
              "      <td>Business</td>\n",
              "      <td>4.03</td>\n",
              "      <td>122058</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Free</td>\n",
              "      <td>Teen</td>\n",
              "      <td>May 02 2020</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>10,000,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>ps_id-35831</td>\n",
              "      <td>Medical</td>\n",
              "      <td>4.60</td>\n",
              "      <td>358</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>297.5742</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>Nov 29 2018</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>5,000+</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>"
            ],
            "text/plain": [
              "    Offered_By         Category  ...  OS_Version_Required    Downloads\n",
              "0  ps_id-24654          Finance  ...   Varies with device     100,000+\n",
              "1  ps_id-35329  Music And Audio  ...           4.1 and up       5,000+\n",
              "2  ps_id-11044      Game Casual  ...           4.1 and up      10,000+\n",
              "3  ps_id-36068         Business  ...   Varies with device  10,000,000+\n",
              "4  ps_id-35831          Medical  ...   Varies with device       5,000+\n",
              "\n",
              "[5 rows x 11 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 3
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "EWhIJgg6R0Xb",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 204
        },
        "outputId": "8fc04aae-1a6b-461f-e16c-1285bd413e2b"
      },
      "source": [
        "test.head()"
      ],
      "execution_count": 4,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>Last_Updated_On</th>\n",
              "      <th>Release_Version</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>ps_id-18231</td>\n",
              "      <td>Game Puzzle</td>\n",
              "      <td>4.52</td>\n",
              "      <td>1362</td>\n",
              "      <td>36M</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>May 05 2020</td>\n",
              "      <td>1.4.1</td>\n",
              "      <td>4.0.3 and up</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>ps_id-1874</td>\n",
              "      <td>Shopping</td>\n",
              "      <td>4.29</td>\n",
              "      <td>3353</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Free</td>\n",
              "      <td>Teen</td>\n",
              "      <td>May 05 2020</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>ps_id-3182</td>\n",
              "      <td>Photography</td>\n",
              "      <td>4.55</td>\n",
              "      <td>161855</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>May 05 2020</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>ps_id-31452</td>\n",
              "      <td>Game Action</td>\n",
              "      <td>3.97</td>\n",
              "      <td>545</td>\n",
              "      <td>16M</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>Dec 07 2016</td>\n",
              "      <td>2</td>\n",
              "      <td>4.1 and up</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>ps_id-25641</td>\n",
              "      <td>Photography</td>\n",
              "      <td>4.65</td>\n",
              "      <td>1672</td>\n",
              "      <td>33M</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>Jan 25 2020</td>\n",
              "      <td>1</td>\n",
              "      <td>4.4 and up</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>"
            ],
            "text/plain": [
              "    Offered_By     Category  ...     Release_Version  OS_Version_Required\n",
              "0  ps_id-18231  Game Puzzle  ...               1.4.1         4.0.3 and up\n",
              "1   ps_id-1874     Shopping  ...  Varies with device   Varies with device\n",
              "2   ps_id-3182  Photography  ...  Varies with device   Varies with device\n",
              "3  ps_id-31452  Game Action  ...                   2           4.1 and up\n",
              "4  ps_id-25641  Photography  ...                   1           4.4 and up\n",
              "\n",
              "[5 rows x 10 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 4
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "-TRsvChfTOA8",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "test['Downloads']=-999"
      ],
      "execution_count": 5,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "LdYLdURiSR5W",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat=pd.concat([train,test])"
      ],
      "execution_count": 6,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "FbygQNlLTiC2",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 204
        },
        "outputId": "02452df2-88c6-4d5c-9fc2-a4055ced5e53"
      },
      "source": [
        "concat.head()"
      ],
      "execution_count": 7,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>Last_Updated_On</th>\n",
              "      <th>Release_Version</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "      <th>Downloads</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>ps_id-24654</td>\n",
              "      <td>Finance</td>\n",
              "      <td>4.18</td>\n",
              "      <td>1481</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>May 05 2020</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>100,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>ps_id-35329</td>\n",
              "      <td>Music And Audio</td>\n",
              "      <td>4.81</td>\n",
              "      <td>302</td>\n",
              "      <td>10M</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>Mar 26 2020</td>\n",
              "      <td>3.9.18</td>\n",
              "      <td>4.1 and up</td>\n",
              "      <td>5,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>ps_id-11044</td>\n",
              "      <td>Game Casual</td>\n",
              "      <td>4.27</td>\n",
              "      <td>374</td>\n",
              "      <td>27M</td>\n",
              "      <td>Free</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>May 01 2020</td>\n",
              "      <td>1.10.1</td>\n",
              "      <td>4.1 and up</td>\n",
              "      <td>10,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>ps_id-36068</td>\n",
              "      <td>Business</td>\n",
              "      <td>4.03</td>\n",
              "      <td>122058</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Free</td>\n",
              "      <td>Teen</td>\n",
              "      <td>May 02 2020</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>10,000,000+</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>ps_id-35831</td>\n",
              "      <td>Medical</td>\n",
              "      <td>4.60</td>\n",
              "      <td>358</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>297.5742</td>\n",
              "      <td>Everyone</td>\n",
              "      <td>Nov 29 2018</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>Varies with device</td>\n",
              "      <td>5,000+</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>"
            ],
            "text/plain": [
              "    Offered_By         Category  ...  OS_Version_Required    Downloads\n",
              "0  ps_id-24654          Finance  ...   Varies with device     100,000+\n",
              "1  ps_id-35329  Music And Audio  ...           4.1 and up       5,000+\n",
              "2  ps_id-11044      Game Casual  ...           4.1 and up      10,000+\n",
              "3  ps_id-36068         Business  ...   Varies with device  10,000,000+\n",
              "4  ps_id-35831          Medical  ...   Varies with device       5,000+\n",
              "\n",
              "[5 rows x 11 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 7
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "oy2GcmQqTk4g",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "64d6114b-7f62-4be1-ab0c-2b8727488448"
      },
      "source": [
        "concat.shape"
      ],
      "execution_count": 8,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "(41292, 11)"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 8
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "ImkLxDW8T5uU",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 85
        },
        "outputId": "7b959574-188b-4a41-d72f-1ae232a0fa9b"
      },
      "source": [
        "concat['Downloads'].unique()"
      ],
      "execution_count": 9,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "array(['100,000+', '5,000+', '10,000+', '10,000,000+', '50,000+',\n",
              "       '1,000,000+', '5,000,000+', '500,000+', '1,000+', '1,000,000,000+',\n",
              "       '50,000,000+', '100+', '100,000,000+', '500+', '10+', '50+',\n",
              "       '500,000,000+', '5,000,000,000+', -999], dtype=object)"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 9
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "Dwf7lUpS3wDM",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 296
        },
        "outputId": "f1dac7d5-765c-449a-813c-ff494f58196c"
      },
      "source": [
        "sns.countplot(concat['Downloads'])"
      ],
      "execution_count": 10,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "<matplotlib.axes._subplots.AxesSubplot at 0x7f2ac391b128>"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 10
        },
        {
          "output_type": "display_data",
          "data": {
            "image/png": "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\n",
            "text/plain": [
              "<Figure size 432x288 with 1 Axes>"
            ]
          },
          "metadata": {
            "tags": [],
            "needs_background": "light"
          }
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "ywXHSkueUJWh",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat.loc[concat['Price']==\"Free\",['Price']]=0"
      ],
      "execution_count": 11,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "p3rJqtPEUG5x",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['Price']=concat['Price'].astype(\"float\")"
      ],
      "execution_count": 12,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "vyUOja-8UVVf",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['month']=concat['Last_Updated_On'].str.split(\" \",expand=True)[0]"
      ],
      "execution_count": 13,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "AlaHeKVnUcqT",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['year']=concat['Last_Updated_On'].str.split(\" \",expand=True)[2]"
      ],
      "execution_count": 14,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "JAaF5mJLadfc",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat.drop(columns=['Last_Updated_On'],inplace=True)"
      ],
      "execution_count": 15,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "KDres3Y4UgdX",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['id_num']=concat['Offered_By'].str.extract('(\\d+)')"
      ],
      "execution_count": 16,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "cj9epYwEUlIt",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['year']=concat['year'].astype('int')\n",
        "concat['id_num']=concat['id_num'].astype('int')\n"
      ],
      "execution_count": 17,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "uwTruFHwV72A",
        "colab": {}
      },
      "source": [
        "str_features=(np.where(concat.dtypes==object)[0])"
      ],
      "execution_count": 18,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "InWAPyrQV72H",
        "colab": {}
      },
      "source": [
        "from sklearn.preprocessing import LabelEncoder"
      ],
      "execution_count": 19,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "MAjw6eurV72J",
        "colab": {}
      },
      "source": [
        "le=LabelEncoder()"
      ],
      "execution_count": 20,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "uheK0-DbV72L",
        "colab": {}
      },
      "source": [
        "lis=list(concat.columns[str_features])"
      ],
      "execution_count": 21,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "naHrsT6SV72M",
        "colab": {}
      },
      "source": [
        "lis.remove('Downloads')"
      ],
      "execution_count": 22,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "p0n6iTdyV72Q",
        "colab": {}
      },
      "source": [
        "for i in lis:\n",
        "  concat[i]=le.fit_transform(concat[i].astype(\"str\"))\n",
        "  le=LabelEncoder()"
      ],
      "execution_count": 23,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "5_mSFmjxbl2E",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['month']=concat['month'].astype('int')"
      ],
      "execution_count": 24,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "4HRgHK05WfSP",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 323
        },
        "outputId": "ddc12a18-2365-42f6-dc23-139c177ba24e"
      },
      "source": [
        "!pip install catboost"
      ],
      "execution_count": 25,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Collecting catboost\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/96/6c/6608210b29649267de52001b09e369777ee2a5cfe1c71fa75eba82a4f2dc/catboost-0.24-cp36-none-manylinux1_x86_64.whl (65.9MB)\n",
            "\u001b[K     |████████████████████████████████| 65.9MB 61kB/s \n",
            "\u001b[?25hRequirement already satisfied: graphviz in /usr/local/lib/python3.6/dist-packages (from catboost) (0.10.1)\n",
            "Requirement already satisfied: numpy>=1.16.0 in /usr/local/lib/python3.6/dist-packages (from catboost) (1.18.5)\n",
            "Requirement already satisfied: scipy in /usr/local/lib/python3.6/dist-packages (from catboost) (1.4.1)\n",
            "Requirement already satisfied: matplotlib in /usr/local/lib/python3.6/dist-packages (from catboost) (3.2.2)\n",
            "Requirement already satisfied: plotly in /usr/local/lib/python3.6/dist-packages (from catboost) (4.4.1)\n",
            "Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from catboost) (1.15.0)\n",
            "Requirement already satisfied: pandas>=0.24.0 in /usr/local/lib/python3.6/dist-packages (from catboost) (1.0.5)\n",
            "Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib->catboost) (0.10.0)\n",
            "Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->catboost) (2.4.7)\n",
            "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->catboost) (1.2.0)\n",
            "Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->catboost) (2.8.1)\n",
            "Requirement already satisfied: retrying>=1.3.3 in /usr/local/lib/python3.6/dist-packages (from plotly->catboost) (1.3.3)\n",
            "Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.6/dist-packages (from pandas>=0.24.0->catboost) (2018.9)\n",
            "Installing collected packages: catboost\n",
            "Successfully installed catboost-0.24\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "qonczbhrWfSb",
        "colab": {}
      },
      "source": [
        "from catboost import CatBoostClassifier"
      ],
      "execution_count": 26,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "PGE_J0O8WfSd",
        "colab": {}
      },
      "source": [
        "cat=CatBoostClassifier(iterations=500,learning_rate=0.1,depth=6)"
      ],
      "execution_count": 27,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "RvOsrEF0WuBV",
        "colab": {}
      },
      "source": [
        "Train=concat.loc[concat['Downloads']!=-999,:]"
      ],
      "execution_count": 28,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "hXkBUz9gWuBd",
        "colab": {}
      },
      "source": [
        "Test=concat.loc[concat['Downloads']==-999,:]"
      ],
      "execution_count": 29,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "PRj5_8Z1WuBg",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "628e9403-7c2f-4648-f451-e727dda57552"
      },
      "source": [
        "print(Train.shape,Test.shape)"
      ],
      "execution_count": 30,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "(16516, 13) (24776, 13)\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "f5wk-96UW4Fw",
        "colab": {}
      },
      "source": [
        "x,y=Train.drop(columns=['Downloads']),Train['Downloads']"
      ],
      "execution_count": 31,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "MVdDKRBhW4F0",
        "colab": {}
      },
      "source": [
        "from sklearn.model_selection import train_test_split"
      ],
      "execution_count": 32,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "SYuG-ewyW4F4",
        "colab": {}
      },
      "source": [
        "x_train,x_test,y_train,y_test=train_test_split(x,y,test_size=0.2)"
      ],
      "execution_count": 33,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "c--GH8nAWfSe",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "outputId": "2a9ef8e5-9751-4a88-9787-362f4fb3a523"
      },
      "source": [
        "cat.fit(x,y,cat_features=[0,1])"
      ],
      "execution_count": 34,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "0:\tlearn: 2.5186252\ttotal: 651ms\tremaining: 5m 24s\n",
            "1:\tlearn: 2.2751024\ttotal: 1.34s\tremaining: 5m 33s\n",
            "2:\tlearn: 2.1213036\ttotal: 2.04s\tremaining: 5m 38s\n",
            "3:\tlearn: 1.9935105\ttotal: 2.75s\tremaining: 5m 40s\n",
            "4:\tlearn: 1.8934926\ttotal: 3.47s\tremaining: 5m 43s\n",
            "5:\tlearn: 1.7997655\ttotal: 4.15s\tremaining: 5m 41s\n",
            "6:\tlearn: 1.7288415\ttotal: 4.83s\tremaining: 5m 40s\n",
            "7:\tlearn: 1.6704373\ttotal: 5.52s\tremaining: 5m 39s\n",
            "8:\tlearn: 1.6133715\ttotal: 6.21s\tremaining: 5m 38s\n",
            "9:\tlearn: 1.5785986\ttotal: 6.53s\tremaining: 5m 20s\n",
            "10:\tlearn: 1.5425290\ttotal: 7.38s\tremaining: 5m 28s\n",
            "11:\tlearn: 1.5076344\ttotal: 8.08s\tremaining: 5m 28s\n",
            "12:\tlearn: 1.4773034\ttotal: 8.85s\tremaining: 5m 31s\n",
            "13:\tlearn: 1.4558146\ttotal: 9.18s\tremaining: 5m 18s\n",
            "14:\tlearn: 1.4259616\ttotal: 9.91s\tremaining: 5m 20s\n",
            "15:\tlearn: 1.4013049\ttotal: 10.6s\tremaining: 5m 22s\n",
            "16:\tlearn: 1.3779878\ttotal: 11.4s\tremaining: 5m 23s\n",
            "17:\tlearn: 1.3604167\ttotal: 12.1s\tremaining: 5m 24s\n",
            "18:\tlearn: 1.3455435\ttotal: 12.9s\tremaining: 5m 26s\n",
            "19:\tlearn: 1.3363413\ttotal: 13.8s\tremaining: 5m 31s\n",
            "20:\tlearn: 1.3224819\ttotal: 14.8s\tremaining: 5m 38s\n",
            "21:\tlearn: 1.3139673\ttotal: 15.8s\tremaining: 5m 42s\n",
            "22:\tlearn: 1.3075936\ttotal: 16s\tremaining: 5m 31s\n",
            "23:\tlearn: 1.3003444\ttotal: 16.9s\tremaining: 5m 34s\n",
            "24:\tlearn: 1.2895476\ttotal: 17.7s\tremaining: 5m 35s\n",
            "25:\tlearn: 1.2844057\ttotal: 18.6s\tremaining: 5m 38s\n",
            "26:\tlearn: 1.2792631\ttotal: 19s\tremaining: 5m 32s\n",
            "27:\tlearn: 1.2736784\ttotal: 19.9s\tremaining: 5m 34s\n",
            "28:\tlearn: 1.2629550\ttotal: 20.8s\tremaining: 5m 37s\n",
            "29:\tlearn: 1.2573999\ttotal: 21.8s\tremaining: 5m 40s\n",
            "30:\tlearn: 1.2536245\ttotal: 22.8s\tremaining: 5m 44s\n",
            "31:\tlearn: 1.2502419\ttotal: 23.8s\tremaining: 5m 47s\n",
            "32:\tlearn: 1.2470830\ttotal: 24.8s\tremaining: 5m 50s\n",
            "33:\tlearn: 1.2409335\ttotal: 25.7s\tremaining: 5m 51s\n",
            "34:\tlearn: 1.2332407\ttotal: 26.5s\tremaining: 5m 52s\n",
            "35:\tlearn: 1.2264558\ttotal: 27.4s\tremaining: 5m 53s\n",
            "36:\tlearn: 1.2232910\ttotal: 28.2s\tremaining: 5m 53s\n",
            "37:\tlearn: 1.2178837\ttotal: 29.2s\tremaining: 5m 54s\n",
            "38:\tlearn: 1.2149667\ttotal: 30.1s\tremaining: 5m 56s\n",
            "39:\tlearn: 1.2069790\ttotal: 30.9s\tremaining: 5m 55s\n",
            "40:\tlearn: 1.2013912\ttotal: 31.8s\tremaining: 5m 56s\n",
            "41:\tlearn: 1.1986879\ttotal: 32.8s\tremaining: 5m 57s\n",
            "42:\tlearn: 1.1973940\ttotal: 33.2s\tremaining: 5m 52s\n",
            "43:\tlearn: 1.1911361\ttotal: 34.1s\tremaining: 5m 53s\n",
            "44:\tlearn: 1.1889530\ttotal: 35.1s\tremaining: 5m 54s\n",
            "45:\tlearn: 1.1878524\ttotal: 35.7s\tremaining: 5m 52s\n",
            "46:\tlearn: 1.1863882\ttotal: 36.7s\tremaining: 5m 53s\n",
            "47:\tlearn: 1.1858122\ttotal: 37.5s\tremaining: 5m 52s\n",
            "48:\tlearn: 1.1827482\ttotal: 38.3s\tremaining: 5m 52s\n",
            "49:\tlearn: 1.1807684\ttotal: 39.3s\tremaining: 5m 53s\n",
            "50:\tlearn: 1.1785686\ttotal: 40.2s\tremaining: 5m 53s\n",
            "51:\tlearn: 1.1764940\ttotal: 41.1s\tremaining: 5m 54s\n",
            "52:\tlearn: 1.1740170\ttotal: 42s\tremaining: 5m 54s\n",
            "53:\tlearn: 1.1728966\ttotal: 43s\tremaining: 5m 54s\n",
            "54:\tlearn: 1.1721323\ttotal: 43.8s\tremaining: 5m 54s\n",
            "55:\tlearn: 1.1685452\ttotal: 44.7s\tremaining: 5m 54s\n",
            "56:\tlearn: 1.1641958\ttotal: 45.5s\tremaining: 5m 53s\n",
            "57:\tlearn: 1.1622311\ttotal: 46.4s\tremaining: 5m 53s\n",
            "58:\tlearn: 1.1593584\ttotal: 47.3s\tremaining: 5m 53s\n",
            "59:\tlearn: 1.1570232\ttotal: 48.3s\tremaining: 5m 54s\n",
            "60:\tlearn: 1.1561772\ttotal: 49.4s\tremaining: 5m 55s\n",
            "61:\tlearn: 1.1560351\ttotal: 50.2s\tremaining: 5m 54s\n",
            "62:\tlearn: 1.1559783\ttotal: 50.6s\tremaining: 5m 50s\n",
            "63:\tlearn: 1.1542959\ttotal: 51.5s\tremaining: 5m 50s\n",
            "64:\tlearn: 1.1536120\ttotal: 52.2s\tremaining: 5m 49s\n",
            "65:\tlearn: 1.1512815\ttotal: 53.2s\tremaining: 5m 49s\n",
            "66:\tlearn: 1.1481374\ttotal: 54.2s\tremaining: 5m 50s\n",
            "67:\tlearn: 1.1474330\ttotal: 55.1s\tremaining: 5m 50s\n",
            "68:\tlearn: 1.1466352\ttotal: 56.1s\tremaining: 5m 50s\n",
            "69:\tlearn: 1.1454478\ttotal: 57s\tremaining: 5m 50s\n",
            "70:\tlearn: 1.1438203\ttotal: 58s\tremaining: 5m 50s\n",
            "71:\tlearn: 1.1415101\ttotal: 59s\tremaining: 5m 50s\n",
            "72:\tlearn: 1.1397993\ttotal: 59.9s\tremaining: 5m 50s\n",
            "73:\tlearn: 1.1349566\ttotal: 1m\tremaining: 5m 50s\n",
            "74:\tlearn: 1.1333877\ttotal: 1m 1s\tremaining: 5m 49s\n",
            "75:\tlearn: 1.1329082\ttotal: 1m 2s\tremaining: 5m 48s\n",
            "76:\tlearn: 1.1317031\ttotal: 1m 3s\tremaining: 5m 48s\n",
            "77:\tlearn: 1.1302399\ttotal: 1m 4s\tremaining: 5m 48s\n",
            "78:\tlearn: 1.1286100\ttotal: 1m 5s\tremaining: 5m 48s\n",
            "79:\tlearn: 1.1273439\ttotal: 1m 6s\tremaining: 5m 47s\n",
            "80:\tlearn: 1.1273358\ttotal: 1m 6s\tremaining: 5m 42s\n",
            "81:\tlearn: 1.1267605\ttotal: 1m 7s\tremaining: 5m 43s\n",
            "82:\tlearn: 1.1260659\ttotal: 1m 8s\tremaining: 5m 43s\n",
            "83:\tlearn: 1.1256377\ttotal: 1m 9s\tremaining: 5m 42s\n",
            "84:\tlearn: 1.1252168\ttotal: 1m 9s\tremaining: 5m 41s\n",
            "85:\tlearn: 1.1233053\ttotal: 1m 10s\tremaining: 5m 40s\n",
            "86:\tlearn: 1.1183704\ttotal: 1m 11s\tremaining: 5m 40s\n",
            "87:\tlearn: 1.1160787\ttotal: 1m 12s\tremaining: 5m 40s\n",
            "88:\tlearn: 1.1153344\ttotal: 1m 13s\tremaining: 5m 39s\n",
            "89:\tlearn: 1.1118269\ttotal: 1m 14s\tremaining: 5m 37s\n",
            "90:\tlearn: 1.1113107\ttotal: 1m 15s\tremaining: 5m 38s\n",
            "91:\tlearn: 1.1109194\ttotal: 1m 16s\tremaining: 5m 37s\n",
            "92:\tlearn: 1.1088429\ttotal: 1m 17s\tremaining: 5m 37s\n",
            "93:\tlearn: 1.1076353\ttotal: 1m 18s\tremaining: 5m 36s\n",
            "94:\tlearn: 1.1039881\ttotal: 1m 18s\tremaining: 5m 35s\n",
            "95:\tlearn: 1.1025675\ttotal: 1m 19s\tremaining: 5m 35s\n",
            "96:\tlearn: 1.1022163\ttotal: 1m 20s\tremaining: 5m 35s\n",
            "97:\tlearn: 1.1010803\ttotal: 1m 21s\tremaining: 5m 35s\n",
            "98:\tlearn: 1.0988781\ttotal: 1m 22s\tremaining: 5m 34s\n",
            "99:\tlearn: 1.0976182\ttotal: 1m 23s\tremaining: 5m 34s\n",
            "100:\tlearn: 1.0943819\ttotal: 1m 24s\tremaining: 5m 33s\n",
            "101:\tlearn: 1.0929481\ttotal: 1m 25s\tremaining: 5m 32s\n",
            "102:\tlearn: 1.0916619\ttotal: 1m 26s\tremaining: 5m 31s\n",
            "103:\tlearn: 1.0903386\ttotal: 1m 27s\tremaining: 5m 31s\n",
            "104:\tlearn: 1.0892434\ttotal: 1m 28s\tremaining: 5m 31s\n",
            "105:\tlearn: 1.0866756\ttotal: 1m 28s\tremaining: 5m 30s\n",
            "106:\tlearn: 1.0853374\ttotal: 1m 29s\tremaining: 5m 29s\n",
            "107:\tlearn: 1.0830722\ttotal: 1m 30s\tremaining: 5m 28s\n",
            "108:\tlearn: 1.0814102\ttotal: 1m 31s\tremaining: 5m 27s\n",
            "109:\tlearn: 1.0804052\ttotal: 1m 32s\tremaining: 5m 27s\n",
            "110:\tlearn: 1.0782284\ttotal: 1m 33s\tremaining: 5m 26s\n",
            "111:\tlearn: 1.0753885\ttotal: 1m 34s\tremaining: 5m 25s\n",
            "112:\tlearn: 1.0741154\ttotal: 1m 34s\tremaining: 5m 25s\n",
            "113:\tlearn: 1.0713145\ttotal: 1m 35s\tremaining: 5m 23s\n",
            "114:\tlearn: 1.0704543\ttotal: 1m 36s\tremaining: 5m 23s\n",
            "115:\tlearn: 1.0672134\ttotal: 1m 37s\tremaining: 5m 22s\n",
            "116:\tlearn: 1.0654207\ttotal: 1m 38s\tremaining: 5m 21s\n",
            "117:\tlearn: 1.0643530\ttotal: 1m 39s\tremaining: 5m 21s\n",
            "118:\tlearn: 1.0633915\ttotal: 1m 40s\tremaining: 5m 20s\n",
            "119:\tlearn: 1.0622822\ttotal: 1m 41s\tremaining: 5m 19s\n",
            "120:\tlearn: 1.0616168\ttotal: 1m 42s\tremaining: 5m 19s\n",
            "121:\tlearn: 1.0608771\ttotal: 1m 43s\tremaining: 5m 19s\n",
            "122:\tlearn: 1.0593667\ttotal: 1m 43s\tremaining: 5m 18s\n",
            "123:\tlearn: 1.0573056\ttotal: 1m 44s\tremaining: 5m 17s\n",
            "124:\tlearn: 1.0553161\ttotal: 1m 45s\tremaining: 5m 16s\n",
            "125:\tlearn: 1.0541445\ttotal: 1m 46s\tremaining: 5m 15s\n",
            "126:\tlearn: 1.0523508\ttotal: 1m 47s\tremaining: 5m 14s\n",
            "127:\tlearn: 1.0510087\ttotal: 1m 48s\tremaining: 5m 14s\n",
            "128:\tlearn: 1.0499104\ttotal: 1m 48s\tremaining: 5m 13s\n",
            "129:\tlearn: 1.0473590\ttotal: 1m 49s\tremaining: 5m 12s\n",
            "130:\tlearn: 1.0463172\ttotal: 1m 50s\tremaining: 5m 11s\n",
            "131:\tlearn: 1.0444616\ttotal: 1m 51s\tremaining: 5m 10s\n",
            "132:\tlearn: 1.0430045\ttotal: 1m 52s\tremaining: 5m 9s\n",
            "133:\tlearn: 1.0416148\ttotal: 1m 53s\tremaining: 5m 8s\n",
            "134:\tlearn: 1.0405194\ttotal: 1m 53s\tremaining: 5m 8s\n",
            "135:\tlearn: 1.0396880\ttotal: 1m 54s\tremaining: 5m 7s\n",
            "136:\tlearn: 1.0385232\ttotal: 1m 55s\tremaining: 5m 7s\n",
            "137:\tlearn: 1.0375214\ttotal: 1m 56s\tremaining: 5m 6s\n",
            "138:\tlearn: 1.0367367\ttotal: 1m 57s\tremaining: 5m 6s\n",
            "139:\tlearn: 1.0359963\ttotal: 1m 58s\tremaining: 5m 5s\n",
            "140:\tlearn: 1.0342331\ttotal: 1m 59s\tremaining: 5m 4s\n",
            "141:\tlearn: 1.0323845\ttotal: 2m\tremaining: 5m 2s\n",
            "142:\tlearn: 1.0318272\ttotal: 2m 1s\tremaining: 5m 2s\n",
            "143:\tlearn: 1.0298497\ttotal: 2m 1s\tremaining: 5m 1s\n",
            "144:\tlearn: 1.0291858\ttotal: 2m 2s\tremaining: 5m\n",
            "145:\tlearn: 1.0281925\ttotal: 2m 3s\tremaining: 5m\n",
            "146:\tlearn: 1.0268285\ttotal: 2m 4s\tremaining: 4m 59s\n",
            "147:\tlearn: 1.0261072\ttotal: 2m 5s\tremaining: 4m 58s\n",
            "148:\tlearn: 1.0251625\ttotal: 2m 6s\tremaining: 4m 58s\n",
            "149:\tlearn: 1.0242119\ttotal: 2m 7s\tremaining: 4m 57s\n",
            "150:\tlearn: 1.0223245\ttotal: 2m 8s\tremaining: 4m 56s\n",
            "151:\tlearn: 1.0209156\ttotal: 2m 8s\tremaining: 4m 55s\n",
            "152:\tlearn: 1.0201082\ttotal: 2m 9s\tremaining: 4m 54s\n",
            "153:\tlearn: 1.0191750\ttotal: 2m 10s\tremaining: 4m 53s\n",
            "154:\tlearn: 1.0179931\ttotal: 2m 11s\tremaining: 4m 52s\n",
            "155:\tlearn: 1.0170330\ttotal: 2m 12s\tremaining: 4m 51s\n",
            "156:\tlearn: 1.0159833\ttotal: 2m 13s\tremaining: 4m 51s\n",
            "157:\tlearn: 1.0151612\ttotal: 2m 14s\tremaining: 4m 50s\n",
            "158:\tlearn: 1.0144770\ttotal: 2m 15s\tremaining: 4m 49s\n",
            "159:\tlearn: 1.0137504\ttotal: 2m 16s\tremaining: 4m 49s\n",
            "160:\tlearn: 1.0123561\ttotal: 2m 16s\tremaining: 4m 48s\n",
            "161:\tlearn: 1.0116378\ttotal: 2m 18s\tremaining: 4m 47s\n",
            "162:\tlearn: 1.0108049\ttotal: 2m 18s\tremaining: 4m 47s\n",
            "163:\tlearn: 1.0097988\ttotal: 2m 19s\tremaining: 4m 46s\n",
            "164:\tlearn: 1.0088614\ttotal: 2m 20s\tremaining: 4m 45s\n",
            "165:\tlearn: 1.0080594\ttotal: 2m 21s\tremaining: 4m 44s\n",
            "166:\tlearn: 1.0073882\ttotal: 2m 22s\tremaining: 4m 43s\n",
            "167:\tlearn: 1.0060122\ttotal: 2m 23s\tremaining: 4m 42s\n",
            "168:\tlearn: 1.0054671\ttotal: 2m 24s\tremaining: 4m 42s\n",
            "169:\tlearn: 1.0045503\ttotal: 2m 25s\tremaining: 4m 41s\n",
            "170:\tlearn: 1.0043067\ttotal: 2m 26s\tremaining: 4m 41s\n",
            "171:\tlearn: 1.0033163\ttotal: 2m 27s\tremaining: 4m 40s\n",
            "172:\tlearn: 1.0026445\ttotal: 2m 27s\tremaining: 4m 39s\n",
            "173:\tlearn: 1.0019193\ttotal: 2m 28s\tremaining: 4m 38s\n",
            "174:\tlearn: 1.0007814\ttotal: 2m 29s\tremaining: 4m 37s\n",
            "175:\tlearn: 1.0003289\ttotal: 2m 30s\tremaining: 4m 37s\n",
            "176:\tlearn: 0.9995751\ttotal: 2m 31s\tremaining: 4m 36s\n",
            "177:\tlearn: 0.9983941\ttotal: 2m 32s\tremaining: 4m 35s\n",
            "178:\tlearn: 0.9972987\ttotal: 2m 33s\tremaining: 4m 34s\n",
            "179:\tlearn: 0.9969691\ttotal: 2m 34s\tremaining: 4m 33s\n",
            "180:\tlearn: 0.9965276\ttotal: 2m 34s\tremaining: 4m 33s\n",
            "181:\tlearn: 0.9953844\ttotal: 2m 35s\tremaining: 4m 32s\n",
            "182:\tlearn: 0.9944377\ttotal: 2m 36s\tremaining: 4m 31s\n",
            "183:\tlearn: 0.9931372\ttotal: 2m 37s\tremaining: 4m 30s\n",
            "184:\tlearn: 0.9919105\ttotal: 2m 38s\tremaining: 4m 29s\n",
            "185:\tlearn: 0.9909558\ttotal: 2m 39s\tremaining: 4m 28s\n",
            "186:\tlearn: 0.9897179\ttotal: 2m 40s\tremaining: 4m 28s\n",
            "187:\tlearn: 0.9890554\ttotal: 2m 41s\tremaining: 4m 27s\n",
            "188:\tlearn: 0.9882887\ttotal: 2m 41s\tremaining: 4m 26s\n",
            "189:\tlearn: 0.9873918\ttotal: 2m 42s\tremaining: 4m 25s\n",
            "190:\tlearn: 0.9868996\ttotal: 2m 43s\tremaining: 4m 25s\n",
            "191:\tlearn: 0.9858356\ttotal: 2m 44s\tremaining: 4m 23s\n",
            "192:\tlearn: 0.9847821\ttotal: 2m 45s\tremaining: 4m 23s\n",
            "193:\tlearn: 0.9839252\ttotal: 2m 46s\tremaining: 4m 22s\n",
            "194:\tlearn: 0.9826990\ttotal: 2m 47s\tremaining: 4m 21s\n",
            "195:\tlearn: 0.9816899\ttotal: 2m 48s\tremaining: 4m 20s\n",
            "196:\tlearn: 0.9811875\ttotal: 2m 49s\tremaining: 4m 19s\n",
            "197:\tlearn: 0.9800209\ttotal: 2m 49s\tremaining: 4m 19s\n",
            "198:\tlearn: 0.9795156\ttotal: 2m 50s\tremaining: 4m 18s\n",
            "199:\tlearn: 0.9787458\ttotal: 2m 51s\tremaining: 4m 17s\n",
            "200:\tlearn: 0.9780802\ttotal: 2m 52s\tremaining: 4m 16s\n",
            "201:\tlearn: 0.9774653\ttotal: 2m 53s\tremaining: 4m 15s\n",
            "202:\tlearn: 0.9766229\ttotal: 2m 54s\tremaining: 4m 14s\n",
            "203:\tlearn: 0.9757515\ttotal: 2m 55s\tremaining: 4m 14s\n",
            "204:\tlearn: 0.9753934\ttotal: 2m 55s\tremaining: 4m 13s\n",
            "205:\tlearn: 0.9740388\ttotal: 2m 56s\tremaining: 4m 12s\n",
            "206:\tlearn: 0.9732535\ttotal: 2m 57s\tremaining: 4m 11s\n",
            "207:\tlearn: 0.9720645\ttotal: 2m 58s\tremaining: 4m 10s\n",
            "208:\tlearn: 0.9714223\ttotal: 2m 59s\tremaining: 4m 9s\n",
            "209:\tlearn: 0.9708439\ttotal: 3m\tremaining: 4m 9s\n",
            "210:\tlearn: 0.9697128\ttotal: 3m 1s\tremaining: 4m 8s\n",
            "211:\tlearn: 0.9688413\ttotal: 3m 2s\tremaining: 4m 7s\n",
            "212:\tlearn: 0.9675485\ttotal: 3m 2s\tremaining: 4m 6s\n",
            "213:\tlearn: 0.9668809\ttotal: 3m 3s\tremaining: 4m 5s\n",
            "214:\tlearn: 0.9662163\ttotal: 3m 4s\tremaining: 4m 4s\n",
            "215:\tlearn: 0.9655982\ttotal: 3m 5s\tremaining: 4m 4s\n",
            "216:\tlearn: 0.9648359\ttotal: 3m 6s\tremaining: 4m 3s\n",
            "217:\tlearn: 0.9638647\ttotal: 3m 7s\tremaining: 4m 2s\n",
            "218:\tlearn: 0.9632789\ttotal: 3m 8s\tremaining: 4m 1s\n",
            "219:\tlearn: 0.9626967\ttotal: 3m 9s\tremaining: 4m\n",
            "220:\tlearn: 0.9620389\ttotal: 3m 10s\tremaining: 4m\n",
            "221:\tlearn: 0.9616002\ttotal: 3m 10s\tremaining: 3m 59s\n",
            "222:\tlearn: 0.9609137\ttotal: 3m 12s\tremaining: 3m 58s\n",
            "223:\tlearn: 0.9603354\ttotal: 3m 12s\tremaining: 3m 57s\n",
            "224:\tlearn: 0.9591655\ttotal: 3m 13s\tremaining: 3m 56s\n",
            "225:\tlearn: 0.9585811\ttotal: 3m 14s\tremaining: 3m 55s\n",
            "226:\tlearn: 0.9579428\ttotal: 3m 15s\tremaining: 3m 55s\n",
            "227:\tlearn: 0.9574558\ttotal: 3m 16s\tremaining: 3m 54s\n",
            "228:\tlearn: 0.9566958\ttotal: 3m 17s\tremaining: 3m 53s\n",
            "229:\tlearn: 0.9558950\ttotal: 3m 18s\tremaining: 3m 52s\n",
            "230:\tlearn: 0.9547940\ttotal: 3m 19s\tremaining: 3m 52s\n",
            "231:\tlearn: 0.9543602\ttotal: 3m 20s\tremaining: 3m 51s\n",
            "232:\tlearn: 0.9538088\ttotal: 3m 20s\tremaining: 3m 50s\n",
            "233:\tlearn: 0.9534016\ttotal: 3m 21s\tremaining: 3m 49s\n",
            "234:\tlearn: 0.9531438\ttotal: 3m 23s\tremaining: 3m 48s\n",
            "235:\tlearn: 0.9523054\ttotal: 3m 23s\tremaining: 3m 48s\n",
            "236:\tlearn: 0.9515407\ttotal: 3m 24s\tremaining: 3m 47s\n",
            "237:\tlearn: 0.9511186\ttotal: 3m 25s\tremaining: 3m 46s\n",
            "238:\tlearn: 0.9505879\ttotal: 3m 26s\tremaining: 3m 45s\n",
            "239:\tlearn: 0.9495391\ttotal: 3m 27s\tremaining: 3m 45s\n",
            "240:\tlearn: 0.9487214\ttotal: 3m 28s\tremaining: 3m 44s\n",
            "241:\tlearn: 0.9480381\ttotal: 3m 29s\tremaining: 3m 43s\n",
            "242:\tlearn: 0.9474971\ttotal: 3m 30s\tremaining: 3m 42s\n",
            "243:\tlearn: 0.9470509\ttotal: 3m 31s\tremaining: 3m 41s\n",
            "244:\tlearn: 0.9462423\ttotal: 3m 31s\tremaining: 3m 40s\n",
            "245:\tlearn: 0.9458827\ttotal: 3m 32s\tremaining: 3m 39s\n",
            "246:\tlearn: 0.9454092\ttotal: 3m 33s\tremaining: 3m 38s\n",
            "247:\tlearn: 0.9448221\ttotal: 3m 34s\tremaining: 3m 38s\n",
            "248:\tlearn: 0.9442758\ttotal: 3m 35s\tremaining: 3m 37s\n",
            "249:\tlearn: 0.9436848\ttotal: 3m 36s\tremaining: 3m 36s\n",
            "250:\tlearn: 0.9428346\ttotal: 3m 37s\tremaining: 3m 35s\n",
            "251:\tlearn: 0.9422344\ttotal: 3m 38s\tremaining: 3m 34s\n",
            "252:\tlearn: 0.9418793\ttotal: 3m 39s\tremaining: 3m 34s\n",
            "253:\tlearn: 0.9408851\ttotal: 3m 39s\tremaining: 3m 33s\n",
            "254:\tlearn: 0.9405003\ttotal: 3m 40s\tremaining: 3m 32s\n",
            "255:\tlearn: 0.9400930\ttotal: 3m 41s\tremaining: 3m 31s\n",
            "256:\tlearn: 0.9395234\ttotal: 3m 42s\tremaining: 3m 30s\n",
            "257:\tlearn: 0.9390866\ttotal: 3m 43s\tremaining: 3m 29s\n",
            "258:\tlearn: 0.9383639\ttotal: 3m 44s\tremaining: 3m 28s\n",
            "259:\tlearn: 0.9378089\ttotal: 3m 45s\tremaining: 3m 28s\n",
            "260:\tlearn: 0.9367523\ttotal: 3m 46s\tremaining: 3m 27s\n",
            "261:\tlearn: 0.9364596\ttotal: 3m 47s\tremaining: 3m 26s\n",
            "262:\tlearn: 0.9362661\ttotal: 3m 48s\tremaining: 3m 25s\n",
            "263:\tlearn: 0.9352232\ttotal: 3m 49s\tremaining: 3m 25s\n",
            "264:\tlearn: 0.9349780\ttotal: 3m 50s\tremaining: 3m 24s\n",
            "265:\tlearn: 0.9342367\ttotal: 3m 51s\tremaining: 3m 23s\n",
            "266:\tlearn: 0.9336728\ttotal: 3m 52s\tremaining: 3m 22s\n",
            "267:\tlearn: 0.9329984\ttotal: 3m 53s\tremaining: 3m 21s\n",
            "268:\tlearn: 0.9324221\ttotal: 3m 53s\tremaining: 3m 20s\n",
            "269:\tlearn: 0.9316278\ttotal: 3m 55s\tremaining: 3m 20s\n",
            "270:\tlearn: 0.9313965\ttotal: 3m 56s\tremaining: 3m 19s\n",
            "271:\tlearn: 0.9309875\ttotal: 3m 56s\tremaining: 3m 18s\n",
            "272:\tlearn: 0.9299393\ttotal: 3m 57s\tremaining: 3m 17s\n",
            "273:\tlearn: 0.9294069\ttotal: 3m 58s\tremaining: 3m 16s\n",
            "274:\tlearn: 0.9288790\ttotal: 3m 59s\tremaining: 3m 16s\n",
            "275:\tlearn: 0.9286446\ttotal: 4m\tremaining: 3m 15s\n",
            "276:\tlearn: 0.9280951\ttotal: 4m 1s\tremaining: 3m 14s\n",
            "277:\tlearn: 0.9278282\ttotal: 4m 2s\tremaining: 3m 13s\n",
            "278:\tlearn: 0.9275115\ttotal: 4m 3s\tremaining: 3m 12s\n",
            "279:\tlearn: 0.9270343\ttotal: 4m 4s\tremaining: 3m 12s\n",
            "280:\tlearn: 0.9267885\ttotal: 4m 5s\tremaining: 3m 11s\n",
            "281:\tlearn: 0.9259973\ttotal: 4m 6s\tremaining: 3m 10s\n",
            "282:\tlearn: 0.9255269\ttotal: 4m 7s\tremaining: 3m 9s\n",
            "283:\tlearn: 0.9251889\ttotal: 4m 8s\tremaining: 3m 8s\n",
            "284:\tlearn: 0.9245085\ttotal: 4m 8s\tremaining: 3m 7s\n",
            "285:\tlearn: 0.9241637\ttotal: 4m 9s\tremaining: 3m 7s\n",
            "286:\tlearn: 0.9235664\ttotal: 4m 11s\tremaining: 3m 6s\n",
            "287:\tlearn: 0.9231048\ttotal: 4m 11s\tremaining: 3m 5s\n",
            "288:\tlearn: 0.9227084\ttotal: 4m 13s\tremaining: 3m 4s\n",
            "289:\tlearn: 0.9218915\ttotal: 4m 13s\tremaining: 3m 3s\n",
            "290:\tlearn: 0.9206558\ttotal: 4m 14s\tremaining: 3m 3s\n",
            "291:\tlearn: 0.9203118\ttotal: 4m 15s\tremaining: 3m 2s\n",
            "292:\tlearn: 0.9198228\ttotal: 4m 16s\tremaining: 3m 1s\n",
            "293:\tlearn: 0.9185233\ttotal: 4m 17s\tremaining: 3m\n",
            "294:\tlearn: 0.9177987\ttotal: 4m 18s\tremaining: 2m 59s\n",
            "295:\tlearn: 0.9170903\ttotal: 4m 19s\tremaining: 2m 58s\n",
            "296:\tlearn: 0.9164227\ttotal: 4m 20s\tremaining: 2m 57s\n",
            "297:\tlearn: 0.9161827\ttotal: 4m 21s\tremaining: 2m 57s\n",
            "298:\tlearn: 0.9153901\ttotal: 4m 22s\tremaining: 2m 56s\n",
            "299:\tlearn: 0.9145699\ttotal: 4m 22s\tremaining: 2m 55s\n",
            "300:\tlearn: 0.9139596\ttotal: 4m 23s\tremaining: 2m 54s\n",
            "301:\tlearn: 0.9133821\ttotal: 4m 24s\tremaining: 2m 53s\n",
            "303:\tlearn: 0.9123348\ttotal: 4m 26s\tremaining: 2m 51s\n",
            "304:\tlearn: 0.9117264\ttotal: 4m 27s\tremaining: 2m 50s\n",
            "305:\tlearn: 0.9110192\ttotal: 4m 28s\tremaining: 2m 50s\n",
            "306:\tlearn: 0.9104607\ttotal: 4m 29s\tremaining: 2m 49s\n",
            "307:\tlearn: 0.9097082\ttotal: 4m 30s\tremaining: 2m 48s\n",
            "308:\tlearn: 0.9092081\ttotal: 4m 31s\tremaining: 2m 47s\n",
            "309:\tlearn: 0.9087206\ttotal: 4m 32s\tremaining: 2m 46s\n",
            "310:\tlearn: 0.9083090\ttotal: 4m 32s\tremaining: 2m 45s\n",
            "311:\tlearn: 0.9077261\ttotal: 4m 33s\tremaining: 2m 44s\n",
            "312:\tlearn: 0.9075005\ttotal: 4m 34s\tremaining: 2m 43s\n",
            "313:\tlearn: 0.9068963\ttotal: 4m 35s\tremaining: 2m 43s\n",
            "314:\tlearn: 0.9062667\ttotal: 4m 36s\tremaining: 2m 42s\n",
            "315:\tlearn: 0.9052830\ttotal: 4m 36s\tremaining: 2m 41s\n",
            "316:\tlearn: 0.9048936\ttotal: 4m 37s\tremaining: 2m 40s\n",
            "317:\tlearn: 0.9046123\ttotal: 4m 38s\tremaining: 2m 39s\n",
            "318:\tlearn: 0.9041497\ttotal: 4m 39s\tremaining: 2m 38s\n",
            "319:\tlearn: 0.9036473\ttotal: 4m 40s\tremaining: 2m 37s\n",
            "320:\tlearn: 0.9031647\ttotal: 4m 41s\tremaining: 2m 37s\n",
            "321:\tlearn: 0.9021938\ttotal: 4m 42s\tremaining: 2m 36s\n",
            "322:\tlearn: 0.9018163\ttotal: 4m 43s\tremaining: 2m 35s\n",
            "323:\tlearn: 0.9007064\ttotal: 4m 44s\tremaining: 2m 34s\n",
            "324:\tlearn: 0.8999430\ttotal: 4m 45s\tremaining: 2m 33s\n",
            "325:\tlearn: 0.8991218\ttotal: 4m 46s\tremaining: 2m 32s\n",
            "326:\tlearn: 0.8985493\ttotal: 4m 47s\tremaining: 2m 31s\n",
            "327:\tlearn: 0.8979416\ttotal: 4m 48s\tremaining: 2m 31s\n",
            "328:\tlearn: 0.8974191\ttotal: 4m 48s\tremaining: 2m 30s\n",
            "329:\tlearn: 0.8967225\ttotal: 4m 49s\tremaining: 2m 29s\n",
            "330:\tlearn: 0.8960537\ttotal: 4m 50s\tremaining: 2m 28s\n",
            "331:\tlearn: 0.8950279\ttotal: 4m 51s\tremaining: 2m 27s\n",
            "332:\tlearn: 0.8944572\ttotal: 4m 52s\tremaining: 2m 26s\n",
            "333:\tlearn: 0.8939310\ttotal: 4m 53s\tremaining: 2m 25s\n",
            "334:\tlearn: 0.8934858\ttotal: 4m 54s\tremaining: 2m 24s\n",
            "335:\tlearn: 0.8926220\ttotal: 4m 55s\tremaining: 2m 24s\n",
            "336:\tlearn: 0.8920099\ttotal: 4m 55s\tremaining: 2m 23s\n",
            "337:\tlearn: 0.8915635\ttotal: 4m 56s\tremaining: 2m 22s\n",
            "338:\tlearn: 0.8912213\ttotal: 4m 57s\tremaining: 2m 21s\n",
            "339:\tlearn: 0.8910055\ttotal: 4m 58s\tremaining: 2m 20s\n",
            "340:\tlearn: 0.8904088\ttotal: 4m 59s\tremaining: 2m 19s\n",
            "341:\tlearn: 0.8901085\ttotal: 5m\tremaining: 2m 18s\n",
            "342:\tlearn: 0.8894642\ttotal: 5m 1s\tremaining: 2m 17s\n",
            "343:\tlearn: 0.8891931\ttotal: 5m 2s\tremaining: 2m 16s\n",
            "344:\tlearn: 0.8888355\ttotal: 5m 2s\tremaining: 2m 16s\n",
            "345:\tlearn: 0.8885042\ttotal: 5m 3s\tremaining: 2m 15s\n",
            "346:\tlearn: 0.8882090\ttotal: 5m 4s\tremaining: 2m 14s\n",
            "347:\tlearn: 0.8875726\ttotal: 5m 5s\tremaining: 2m 13s\n",
            "348:\tlearn: 0.8870595\ttotal: 5m 6s\tremaining: 2m 12s\n",
            "349:\tlearn: 0.8863902\ttotal: 5m 7s\tremaining: 2m 11s\n",
            "350:\tlearn: 0.8855641\ttotal: 5m 8s\tremaining: 2m 11s\n",
            "351:\tlearn: 0.8844890\ttotal: 5m 9s\tremaining: 2m 10s\n",
            "352:\tlearn: 0.8835409\ttotal: 5m 10s\tremaining: 2m 9s\n",
            "353:\tlearn: 0.8829705\ttotal: 5m 11s\tremaining: 2m 8s\n",
            "354:\tlearn: 0.8820867\ttotal: 5m 12s\tremaining: 2m 7s\n",
            "355:\tlearn: 0.8813860\ttotal: 5m 12s\tremaining: 2m 6s\n",
            "356:\tlearn: 0.8811945\ttotal: 5m 13s\tremaining: 2m 5s\n",
            "357:\tlearn: 0.8805831\ttotal: 5m 14s\tremaining: 2m 4s\n",
            "358:\tlearn: 0.8798622\ttotal: 5m 15s\tremaining: 2m 3s\n",
            "359:\tlearn: 0.8794905\ttotal: 5m 16s\tremaining: 2m 3s\n",
            "360:\tlearn: 0.8784516\ttotal: 5m 17s\tremaining: 2m 2s\n",
            "361:\tlearn: 0.8781535\ttotal: 5m 18s\tremaining: 2m 1s\n",
            "362:\tlearn: 0.8775319\ttotal: 5m 19s\tremaining: 2m\n",
            "363:\tlearn: 0.8770371\ttotal: 5m 20s\tremaining: 1m 59s\n",
            "364:\tlearn: 0.8766705\ttotal: 5m 21s\tremaining: 1m 58s\n",
            "365:\tlearn: 0.8760906\ttotal: 5m 21s\tremaining: 1m 57s\n",
            "366:\tlearn: 0.8755646\ttotal: 5m 22s\tremaining: 1m 56s\n",
            "367:\tlearn: 0.8748063\ttotal: 5m 23s\tremaining: 1m 56s\n",
            "368:\tlearn: 0.8744220\ttotal: 5m 24s\tremaining: 1m 55s\n",
            "369:\tlearn: 0.8739016\ttotal: 5m 25s\tremaining: 1m 54s\n",
            "370:\tlearn: 0.8730692\ttotal: 5m 26s\tremaining: 1m 53s\n",
            "371:\tlearn: 0.8725122\ttotal: 5m 27s\tremaining: 1m 52s\n",
            "372:\tlearn: 0.8723435\ttotal: 5m 28s\tremaining: 1m 51s\n",
            "373:\tlearn: 0.8721068\ttotal: 5m 29s\tremaining: 1m 50s\n",
            "374:\tlearn: 0.8715089\ttotal: 5m 30s\tremaining: 1m 50s\n",
            "375:\tlearn: 0.8709854\ttotal: 5m 31s\tremaining: 1m 49s\n",
            "376:\tlearn: 0.8707059\ttotal: 5m 32s\tremaining: 1m 48s\n",
            "377:\tlearn: 0.8700642\ttotal: 5m 32s\tremaining: 1m 47s\n",
            "378:\tlearn: 0.8693323\ttotal: 5m 33s\tremaining: 1m 46s\n",
            "379:\tlearn: 0.8689585\ttotal: 5m 34s\tremaining: 1m 45s\n",
            "380:\tlearn: 0.8686176\ttotal: 5m 35s\tremaining: 1m 44s\n",
            "381:\tlearn: 0.8678908\ttotal: 5m 36s\tremaining: 1m 43s\n",
            "382:\tlearn: 0.8672135\ttotal: 5m 37s\tremaining: 1m 43s\n",
            "383:\tlearn: 0.8664805\ttotal: 5m 38s\tremaining: 1m 42s\n",
            "384:\tlearn: 0.8657419\ttotal: 5m 39s\tremaining: 1m 41s\n",
            "385:\tlearn: 0.8652457\ttotal: 5m 39s\tremaining: 1m 40s\n",
            "386:\tlearn: 0.8646408\ttotal: 5m 40s\tremaining: 1m 39s\n",
            "387:\tlearn: 0.8641258\ttotal: 5m 41s\tremaining: 1m 38s\n",
            "388:\tlearn: 0.8638500\ttotal: 5m 42s\tremaining: 1m 37s\n",
            "389:\tlearn: 0.8633852\ttotal: 5m 43s\tremaining: 1m 36s\n",
            "390:\tlearn: 0.8631693\ttotal: 5m 44s\tremaining: 1m 36s\n",
            "391:\tlearn: 0.8624661\ttotal: 5m 45s\tremaining: 1m 35s\n",
            "392:\tlearn: 0.8616181\ttotal: 5m 46s\tremaining: 1m 34s\n",
            "393:\tlearn: 0.8610502\ttotal: 5m 47s\tremaining: 1m 33s\n",
            "394:\tlearn: 0.8607433\ttotal: 5m 47s\tremaining: 1m 32s\n",
            "395:\tlearn: 0.8604647\ttotal: 5m 48s\tremaining: 1m 31s\n",
            "396:\tlearn: 0.8600947\ttotal: 5m 49s\tremaining: 1m 30s\n",
            "397:\tlearn: 0.8598498\ttotal: 5m 50s\tremaining: 1m 29s\n",
            "398:\tlearn: 0.8593165\ttotal: 5m 51s\tremaining: 1m 29s\n",
            "399:\tlearn: 0.8583728\ttotal: 5m 52s\tremaining: 1m 28s\n",
            "400:\tlearn: 0.8579851\ttotal: 5m 53s\tremaining: 1m 27s\n",
            "401:\tlearn: 0.8576503\ttotal: 5m 54s\tremaining: 1m 26s\n",
            "402:\tlearn: 0.8571694\ttotal: 5m 55s\tremaining: 1m 25s\n",
            "403:\tlearn: 0.8567994\ttotal: 5m 56s\tremaining: 1m 24s\n",
            "404:\tlearn: 0.8564711\ttotal: 5m 57s\tremaining: 1m 23s\n",
            "405:\tlearn: 0.8559211\ttotal: 5m 58s\tremaining: 1m 22s\n",
            "406:\tlearn: 0.8553558\ttotal: 5m 59s\tremaining: 1m 22s\n",
            "407:\tlearn: 0.8546586\ttotal: 5m 59s\tremaining: 1m 21s\n",
            "408:\tlearn: 0.8540876\ttotal: 6m\tremaining: 1m 20s\n",
            "409:\tlearn: 0.8538180\ttotal: 6m 1s\tremaining: 1m 19s\n",
            "410:\tlearn: 0.8535405\ttotal: 6m 2s\tremaining: 1m 18s\n",
            "411:\tlearn: 0.8527797\ttotal: 6m 3s\tremaining: 1m 17s\n",
            "412:\tlearn: 0.8525584\ttotal: 6m 4s\tremaining: 1m 16s\n",
            "413:\tlearn: 0.8519232\ttotal: 6m 5s\tremaining: 1m 15s\n",
            "414:\tlearn: 0.8514261\ttotal: 6m 6s\tremaining: 1m 15s\n",
            "415:\tlearn: 0.8505772\ttotal: 6m 7s\tremaining: 1m 14s\n",
            "416:\tlearn: 0.8501302\ttotal: 6m 8s\tremaining: 1m 13s\n",
            "417:\tlearn: 0.8496956\ttotal: 6m 9s\tremaining: 1m 12s\n",
            "418:\tlearn: 0.8489315\ttotal: 6m 9s\tremaining: 1m 11s\n",
            "419:\tlearn: 0.8486324\ttotal: 6m 10s\tremaining: 1m 10s\n",
            "420:\tlearn: 0.8483893\ttotal: 6m 11s\tremaining: 1m 9s\n",
            "421:\tlearn: 0.8475917\ttotal: 6m 12s\tremaining: 1m 8s\n",
            "422:\tlearn: 0.8468459\ttotal: 6m 13s\tremaining: 1m 7s\n",
            "423:\tlearn: 0.8464858\ttotal: 6m 14s\tremaining: 1m 7s\n",
            "424:\tlearn: 0.8457960\ttotal: 6m 15s\tremaining: 1m 6s\n",
            "425:\tlearn: 0.8455644\ttotal: 6m 16s\tremaining: 1m 5s\n",
            "426:\tlearn: 0.8451457\ttotal: 6m 17s\tremaining: 1m 4s\n",
            "427:\tlearn: 0.8446027\ttotal: 6m 18s\tremaining: 1m 3s\n",
            "428:\tlearn: 0.8442285\ttotal: 6m 18s\tremaining: 1m 2s\n",
            "429:\tlearn: 0.8438645\ttotal: 6m 19s\tremaining: 1m 1s\n",
            "430:\tlearn: 0.8435259\ttotal: 6m 20s\tremaining: 1m\n",
            "431:\tlearn: 0.8431274\ttotal: 6m 21s\tremaining: 1m\n",
            "432:\tlearn: 0.8427244\ttotal: 6m 22s\tremaining: 59.2s\n",
            "433:\tlearn: 0.8423482\ttotal: 6m 23s\tremaining: 58.3s\n",
            "434:\tlearn: 0.8418033\ttotal: 6m 24s\tremaining: 57.4s\n",
            "435:\tlearn: 0.8413707\ttotal: 6m 25s\tremaining: 56.6s\n",
            "436:\tlearn: 0.8402323\ttotal: 6m 26s\tremaining: 55.7s\n",
            "437:\tlearn: 0.8397092\ttotal: 6m 26s\tremaining: 54.8s\n",
            "438:\tlearn: 0.8391639\ttotal: 6m 27s\tremaining: 53.9s\n",
            "439:\tlearn: 0.8380008\ttotal: 6m 28s\tremaining: 53s\n",
            "440:\tlearn: 0.8375317\ttotal: 6m 29s\tremaining: 52.1s\n",
            "441:\tlearn: 0.8371601\ttotal: 6m 30s\tremaining: 51.2s\n",
            "442:\tlearn: 0.8368642\ttotal: 6m 31s\tremaining: 50.3s\n",
            "443:\tlearn: 0.8364106\ttotal: 6m 32s\tremaining: 49.5s\n",
            "444:\tlearn: 0.8356926\ttotal: 6m 32s\tremaining: 48.6s\n",
            "445:\tlearn: 0.8355264\ttotal: 6m 33s\tremaining: 47.7s\n",
            "446:\tlearn: 0.8352609\ttotal: 6m 34s\tremaining: 46.8s\n",
            "447:\tlearn: 0.8350225\ttotal: 6m 35s\tremaining: 45.9s\n",
            "448:\tlearn: 0.8346698\ttotal: 6m 36s\tremaining: 45.1s\n",
            "449:\tlearn: 0.8337502\ttotal: 6m 37s\tremaining: 44.2s\n",
            "450:\tlearn: 0.8331412\ttotal: 6m 38s\tremaining: 43.3s\n",
            "451:\tlearn: 0.8328391\ttotal: 6m 39s\tremaining: 42.4s\n",
            "452:\tlearn: 0.8320828\ttotal: 6m 40s\tremaining: 41.5s\n",
            "453:\tlearn: 0.8317147\ttotal: 6m 41s\tremaining: 40.6s\n",
            "454:\tlearn: 0.8314481\ttotal: 6m 41s\tremaining: 39.8s\n",
            "455:\tlearn: 0.8309316\ttotal: 6m 42s\tremaining: 38.9s\n",
            "456:\tlearn: 0.8300943\ttotal: 6m 43s\tremaining: 38s\n",
            "457:\tlearn: 0.8294177\ttotal: 6m 44s\tremaining: 37.1s\n",
            "458:\tlearn: 0.8289970\ttotal: 6m 45s\tremaining: 36.2s\n",
            "459:\tlearn: 0.8286349\ttotal: 6m 46s\tremaining: 35.4s\n",
            "460:\tlearn: 0.8283965\ttotal: 6m 47s\tremaining: 34.5s\n",
            "461:\tlearn: 0.8279732\ttotal: 6m 48s\tremaining: 33.6s\n",
            "462:\tlearn: 0.8276776\ttotal: 6m 49s\tremaining: 32.7s\n",
            "463:\tlearn: 0.8271877\ttotal: 6m 50s\tremaining: 31.9s\n",
            "464:\tlearn: 0.8270315\ttotal: 6m 51s\tremaining: 31s\n",
            "465:\tlearn: 0.8265453\ttotal: 6m 52s\tremaining: 30.1s\n",
            "466:\tlearn: 0.8260624\ttotal: 6m 53s\tremaining: 29.2s\n",
            "467:\tlearn: 0.8254224\ttotal: 6m 53s\tremaining: 28.3s\n",
            "468:\tlearn: 0.8248792\ttotal: 6m 54s\tremaining: 27.4s\n",
            "469:\tlearn: 0.8241638\ttotal: 6m 55s\tremaining: 26.5s\n",
            "470:\tlearn: 0.8232996\ttotal: 6m 56s\tremaining: 25.6s\n",
            "471:\tlearn: 0.8229149\ttotal: 6m 57s\tremaining: 24.8s\n",
            "472:\tlearn: 0.8224896\ttotal: 6m 58s\tremaining: 23.9s\n",
            "473:\tlearn: 0.8223435\ttotal: 6m 59s\tremaining: 23s\n",
            "474:\tlearn: 0.8215778\ttotal: 7m\tremaining: 22.1s\n",
            "475:\tlearn: 0.8211018\ttotal: 7m\tremaining: 21.2s\n",
            "476:\tlearn: 0.8209126\ttotal: 7m 1s\tremaining: 20.3s\n",
            "477:\tlearn: 0.8206630\ttotal: 7m 2s\tremaining: 19.5s\n",
            "478:\tlearn: 0.8202980\ttotal: 7m 3s\tremaining: 18.6s\n",
            "479:\tlearn: 0.8197515\ttotal: 7m 4s\tremaining: 17.7s\n",
            "480:\tlearn: 0.8196629\ttotal: 7m 5s\tremaining: 16.8s\n",
            "481:\tlearn: 0.8192940\ttotal: 7m 6s\tremaining: 15.9s\n",
            "482:\tlearn: 0.8190864\ttotal: 7m 7s\tremaining: 15.1s\n",
            "483:\tlearn: 0.8186018\ttotal: 7m 8s\tremaining: 14.2s\n",
            "484:\tlearn: 0.8183669\ttotal: 7m 9s\tremaining: 13.3s\n",
            "485:\tlearn: 0.8180586\ttotal: 7m 10s\tremaining: 12.4s\n",
            "486:\tlearn: 0.8177991\ttotal: 7m 11s\tremaining: 11.5s\n",
            "487:\tlearn: 0.8172706\ttotal: 7m 12s\tremaining: 10.6s\n",
            "488:\tlearn: 0.8167127\ttotal: 7m 13s\tremaining: 9.75s\n",
            "489:\tlearn: 0.8162587\ttotal: 7m 14s\tremaining: 8.87s\n",
            "490:\tlearn: 0.8158035\ttotal: 7m 15s\tremaining: 7.98s\n",
            "491:\tlearn: 0.8150846\ttotal: 7m 16s\tremaining: 7.09s\n",
            "492:\tlearn: 0.8147823\ttotal: 7m 17s\tremaining: 6.21s\n",
            "493:\tlearn: 0.8146016\ttotal: 7m 18s\tremaining: 5.32s\n",
            "494:\tlearn: 0.8142222\ttotal: 7m 19s\tremaining: 4.43s\n",
            "495:\tlearn: 0.8136203\ttotal: 7m 19s\tremaining: 3.55s\n",
            "496:\tlearn: 0.8134462\ttotal: 7m 20s\tremaining: 2.66s\n",
            "497:\tlearn: 0.8128866\ttotal: 7m 21s\tremaining: 1.77s\n",
            "498:\tlearn: 0.8119179\ttotal: 7m 22s\tremaining: 887ms\n",
            "499:\tlearn: 0.8117627\ttotal: 7m 23s\tremaining: 0us\n"
          ],
          "name": "stdout"
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "<catboost.core.CatBoostClassifier at 0x7f2ac30a6438>"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 34
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "ad90eCYfY30y",
        "colab": {}
      },
      "source": [
        "pred_cat=cat.predict_proba(Test.drop(columns=['Downloads']))"
      ],
      "execution_count": 35,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "UenX6Y_RY306",
        "colab": {}
      },
      "source": [
        "pred_cat=pd.DataFrame(pred_cat)"
      ],
      "execution_count": 36,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "ULc3-K4zY308",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 204
        },
        "outputId": "3fdea113-eee3-4ece-e554-bd36a376525f"
      },
      "source": [
        "pred_cat.head()"
      ],
      "execution_count": 37,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>0</th>\n",
              "      <th>1</th>\n",
              "      <th>2</th>\n",
              "      <th>3</th>\n",
              "      <th>4</th>\n",
              "      <th>5</th>\n",
              "      <th>6</th>\n",
              "      <th>7</th>\n",
              "      <th>8</th>\n",
              "      <th>9</th>\n",
              "      <th>10</th>\n",
              "      <th>11</th>\n",
              "      <th>12</th>\n",
              "      <th>13</th>\n",
              "      <th>14</th>\n",
              "      <th>15</th>\n",
              "      <th>16</th>\n",
              "      <th>17</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>0.000163</td>\n",
              "      <td>0.021117</td>\n",
              "      <td>0.000006</td>\n",
              "      <td>0.000006</td>\n",
              "      <td>0.051095</td>\n",
              "      <td>0.000108</td>\n",
              "      <td>0.000013</td>\n",
              "      <td>0.644722</td>\n",
              "      <td>0.000060</td>\n",
              "      <td>0.000487</td>\n",
              "      <td>0.000378</td>\n",
              "      <td>0.000004</td>\n",
              "      <td>0.000007</td>\n",
              "      <td>0.182011</td>\n",
              "      <td>0.000018</td>\n",
              "      <td>0.000032</td>\n",
              "      <td>0.099758</td>\n",
              "      <td>0.000014</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>0.000096</td>\n",
              "      <td>0.174061</td>\n",
              "      <td>0.000092</td>\n",
              "      <td>0.000009</td>\n",
              "      <td>0.003355</td>\n",
              "      <td>0.002562</td>\n",
              "      <td>0.000023</td>\n",
              "      <td>0.527908</td>\n",
              "      <td>0.000604</td>\n",
              "      <td>0.000192</td>\n",
              "      <td>0.003305</td>\n",
              "      <td>0.000028</td>\n",
              "      <td>0.000012</td>\n",
              "      <td>0.024131</td>\n",
              "      <td>0.000332</td>\n",
              "      <td>0.000063</td>\n",
              "      <td>0.263065</td>\n",
              "      <td>0.000161</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>0.000013</td>\n",
              "      <td>0.044044</td>\n",
              "      <td>0.000174</td>\n",
              "      <td>0.000003</td>\n",
              "      <td>0.000038</td>\n",
              "      <td>0.758827</td>\n",
              "      <td>0.000006</td>\n",
              "      <td>0.000329</td>\n",
              "      <td>0.015264</td>\n",
              "      <td>0.000017</td>\n",
              "      <td>0.166430</td>\n",
              "      <td>0.000023</td>\n",
              "      <td>0.000003</td>\n",
              "      <td>0.000089</td>\n",
              "      <td>0.013300</td>\n",
              "      <td>0.000009</td>\n",
              "      <td>0.001035</td>\n",
              "      <td>0.000396</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>0.002073</td>\n",
              "      <td>0.004102</td>\n",
              "      <td>0.000007</td>\n",
              "      <td>0.000054</td>\n",
              "      <td>0.227821</td>\n",
              "      <td>0.000111</td>\n",
              "      <td>0.000045</td>\n",
              "      <td>0.488064</td>\n",
              "      <td>0.000049</td>\n",
              "      <td>0.009871</td>\n",
              "      <td>0.000271</td>\n",
              "      <td>0.000011</td>\n",
              "      <td>0.000078</td>\n",
              "      <td>0.230260</td>\n",
              "      <td>0.000046</td>\n",
              "      <td>0.000235</td>\n",
              "      <td>0.036889</td>\n",
              "      <td>0.000013</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>0.000501</td>\n",
              "      <td>0.022758</td>\n",
              "      <td>0.000005</td>\n",
              "      <td>0.000040</td>\n",
              "      <td>0.092275</td>\n",
              "      <td>0.000142</td>\n",
              "      <td>0.000119</td>\n",
              "      <td>0.594883</td>\n",
              "      <td>0.000076</td>\n",
              "      <td>0.001667</td>\n",
              "      <td>0.000588</td>\n",
              "      <td>0.000010</td>\n",
              "      <td>0.000078</td>\n",
              "      <td>0.213518</td>\n",
              "      <td>0.000058</td>\n",
              "      <td>0.000193</td>\n",
              "      <td>0.073068</td>\n",
              "      <td>0.000021</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>"
            ],
            "text/plain": [
              "         0         1         2   ...        15        16        17\n",
              "0  0.000163  0.021117  0.000006  ...  0.000032  0.099758  0.000014\n",
              "1  0.000096  0.174061  0.000092  ...  0.000063  0.263065  0.000161\n",
              "2  0.000013  0.044044  0.000174  ...  0.000009  0.001035  0.000396\n",
              "3  0.002073  0.004102  0.000007  ...  0.000235  0.036889  0.000013\n",
              "4  0.000501  0.022758  0.000005  ...  0.000193  0.073068  0.000021\n",
              "\n",
              "[5 rows x 18 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 37
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "ugXeLZwRUTB5",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "###################################################################################"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "0YMIcvd0ZQab",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat=pd.concat([train,test])"
      ],
      "execution_count": 38,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "nHJXMSdOZf60",
        "colab": {}
      },
      "source": [
        "concat.loc[concat['Price']==\"Free\",['Price']]=0"
      ],
      "execution_count": 39,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "8uRxxuFuZf69",
        "colab": {}
      },
      "source": [
        "concat['Price']=concat['Price'].astype(\"float\")"
      ],
      "execution_count": 40,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "-xipZUT6Zf7A",
        "colab": {}
      },
      "source": [
        "concat['month']=concat['Last_Updated_On'].str.split(\" \",expand=True)[0]"
      ],
      "execution_count": 41,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "1ts84GUFZf7C",
        "colab": {}
      },
      "source": [
        "concat['year']=concat['Last_Updated_On'].str.split(\" \",expand=True)[2]"
      ],
      "execution_count": 42,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "x9fEvgvZZf7D",
        "colab": {}
      },
      "source": [
        "concat['id_num']=concat['Offered_By'].str.extract('(\\d+)')"
      ],
      "execution_count": 43,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "kq28FpGLZf7F",
        "colab": {}
      },
      "source": [
        "concat['year']=concat['year'].astype('int')\n",
        "concat['id_num']=concat['id_num'].astype('int')\n"
      ],
      "execution_count": 44,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "L1axSVdqVT2c",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['Rating']=round(concat['Rating'],1)\n",
        "concat['Reviews']=np.log10(concat['Reviews'])\n",
        "concat['Reviews']=round(concat['Reviews'],1)\n",
        "\n"
      ],
      "execution_count": 45,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "XbT00ybUbGpJ",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['Price']=round(np.log10(concat['Price']+1),1)"
      ],
      "execution_count": 46,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "I-26wGZfxy6b",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat.drop(columns=['Last_Updated_On'],inplace=True)"
      ],
      "execution_count": 47,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "0S7_Z99LOZI2",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['Size']=concat['Size'].str.extract(('(\\D+)'))"
      ],
      "execution_count": 48,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "iLTxP_kiy-xb",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['rating_round']=round(concat['Rating'],0)\n",
        "concat['reviews_round']=round(concat['Reviews'],0)\n",
        "concat['price_round']=round(concat['Price'],0)"
      ],
      "execution_count": 49,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "gMJp-woj0GLt",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['release']=concat['Release_Version'].str.split('.',expand=True)[0]"
      ],
      "execution_count": 50,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "fsU8Wwgk1InV",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat.drop(columns=['Release_Version'],inplace=True)"
      ],
      "execution_count": 51,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "YCPfYeSVbhXf",
        "colab": {}
      },
      "source": [
        "str_features=(np.where(concat.dtypes==object)[0])"
      ],
      "execution_count": 52,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "rEL9y-zWbhXu",
        "colab": {}
      },
      "source": [
        "le=LabelEncoder()"
      ],
      "execution_count": 53,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "-OnGE0eRbhXv",
        "colab": {}
      },
      "source": [
        "lis=list(concat.columns[str_features])"
      ],
      "execution_count": 54,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "irr-cXT0bhXw",
        "colab": {}
      },
      "source": [
        "lis.remove('Downloads')"
      ],
      "execution_count": 55,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "Z83bSWiSbhXz",
        "colab": {}
      },
      "source": [
        "for i in lis:\n",
        "  concat[i]=le.fit_transform(concat[i].astype(\"str\"))\n",
        "  le=LabelEncoder()"
      ],
      "execution_count": 56,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "WDJHKHXq7vAE",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "concat['month']=concat['month'].astype('int')\n"
      ],
      "execution_count": 57,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "a2tEbGto_dAQ",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 204
        },
        "outputId": "b2a8cfcf-facd-49f1-9870-548a544300bb"
      },
      "source": [
        "concat.head()"
      ],
      "execution_count": 58,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "      <th>Downloads</th>\n",
              "      <th>month</th>\n",
              "      <th>year</th>\n",
              "      <th>id_num</th>\n",
              "      <th>rating_round</th>\n",
              "      <th>reviews_round</th>\n",
              "      <th>price_round</th>\n",
              "      <th>release</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>16254</td>\n",
              "      <td>12</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>100,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>24654</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>28097</td>\n",
              "      <td>38</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>7</td>\n",
              "      <td>2020</td>\n",
              "      <td>35329</td>\n",
              "      <td>5.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>174</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>1161</td>\n",
              "      <td>21</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>10,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>11044</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>28918</td>\n",
              "      <td>4</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>4</td>\n",
              "      <td>36</td>\n",
              "      <td>10,000,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>36068</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>28655</td>\n",
              "      <td>37</td>\n",
              "      <td>4.6</td>\n",
              "      <td>2.6</td>\n",
              "      <td>3</td>\n",
              "      <td>2.5</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>9</td>\n",
              "      <td>2018</td>\n",
              "      <td>35831</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>500</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>"
            ],
            "text/plain": [
              "   Offered_By  Category  Rating  ...  reviews_round  price_round  release\n",
              "0       16254        12     4.2  ...            3.0          0.0      500\n",
              "1       28097        38     4.8  ...            2.0          0.0      174\n",
              "2        1161        21     4.3  ...            3.0          0.0       13\n",
              "3       28918         4     4.0  ...            5.0          0.0      500\n",
              "4       28655        37     4.6  ...            3.0          2.0      500\n",
              "\n",
              "[5 rows x 16 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 58
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "tHaprFRNtkH_",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "##Using my own function- Feature Engineer And Relax\n",
        "from fear import make_double_combo"
      ],
      "execution_count": 59,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "a_0RqhSf_tNn",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 592
        },
        "outputId": "6afe7107-f02d-4b7a-b1af-b52e3c6c94df"
      },
      "source": [
        "make_double_combo(9,concat,\"cat_combine\")"
      ],
      "execution_count": 60,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "column name: Category\n",
            "column name: Size\n",
            "column name: Content_Rating\n",
            "column name: OS_Version_Required\n",
            "column name: year\n",
            "column name: rating_round\n",
            "column name: reviews_round\n",
            "column name: price_round\n",
            "column name: release\n"
          ],
          "name": "stdout"
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "      <th>Downloads</th>\n",
              "      <th>month</th>\n",
              "      <th>year</th>\n",
              "      <th>id_num</th>\n",
              "      <th>rating_round</th>\n",
              "      <th>reviews_round</th>\n",
              "      <th>price_round</th>\n",
              "      <th>release</th>\n",
              "      <th>Categorycat_combineSize</th>\n",
              "      <th>Categorycat_combineContent_Rating</th>\n",
              "      <th>Categorycat_combineOS_Version_Required</th>\n",
              "      <th>Categorycat_combineyear</th>\n",
              "      <th>Categorycat_combinerating_round</th>\n",
              "      <th>Categorycat_combinereviews_round</th>\n",
              "      <th>Categorycat_combineprice_round</th>\n",
              "      <th>Categorycat_combinerelease</th>\n",
              "      <th>Sizecat_combineContent_Rating</th>\n",
              "      <th>Sizecat_combineOS_Version_Required</th>\n",
              "      <th>Sizecat_combineyear</th>\n",
              "      <th>Sizecat_combinerating_round</th>\n",
              "      <th>Sizecat_combinereviews_round</th>\n",
              "      <th>Sizecat_combineprice_round</th>\n",
              "      <th>Sizecat_combinerelease</th>\n",
              "      <th>Content_Ratingcat_combineOS_Version_Required</th>\n",
              "      <th>Content_Ratingcat_combineyear</th>\n",
              "      <th>Content_Ratingcat_combinerating_round</th>\n",
              "      <th>Content_Ratingcat_combinereviews_round</th>\n",
              "      <th>Content_Ratingcat_combineprice_round</th>\n",
              "      <th>Content_Ratingcat_combinerelease</th>\n",
              "      <th>OS_Version_Requiredcat_combineyear</th>\n",
              "      <th>OS_Version_Requiredcat_combinerating_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinereviews_round</th>\n",
              "      <th>OS_Version_Requiredcat_combineprice_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinerelease</th>\n",
              "      <th>yearcat_combinerating_round</th>\n",
              "      <th>yearcat_combinereviews_round</th>\n",
              "      <th>yearcat_combineprice_round</th>\n",
              "      <th>yearcat_combinerelease</th>\n",
              "      <th>rating_roundcat_combinereviews_round</th>\n",
              "      <th>rating_roundcat_combineprice_round</th>\n",
              "      <th>rating_roundcat_combinerelease</th>\n",
              "      <th>reviews_roundcat_combineprice_round</th>\n",
              "      <th>reviews_roundcat_combinerelease</th>\n",
              "      <th>price_roundcat_combinerelease</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>16254</td>\n",
              "      <td>12</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>100,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>24654</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>12cg7e083</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0836</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>28097</td>\n",
              "      <td>38</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>7</td>\n",
              "      <td>2020</td>\n",
              "      <td>35329</td>\n",
              "      <td>5.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>174</td>\n",
              "      <td>38cg7e082</td>\n",
              "      <td>38cg7e081</td>\n",
              "      <td>38cg7e0821</td>\n",
              "      <td>38cg7e082020</td>\n",
              "      <td>38cg7e085.0</td>\n",
              "      <td>38cg7e082.0</td>\n",
              "      <td>38cg7e080.0</td>\n",
              "      <td>38cg7e08174</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08174</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08174</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08174</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08174</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08174</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08174</td>\n",
              "      <td>0.0cg7e08174</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>1161</td>\n",
              "      <td>21</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>10,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>11044</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>21cg7e082</td>\n",
              "      <td>21cg7e081</td>\n",
              "      <td>21cg7e0821</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e0813</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e0813</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>28918</td>\n",
              "      <td>4</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>4</td>\n",
              "      <td>36</td>\n",
              "      <td>10,000,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>36068</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>4cg7e083</td>\n",
              "      <td>4cg7e084</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>3cg7e084</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e085.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>28655</td>\n",
              "      <td>37</td>\n",
              "      <td>4.6</td>\n",
              "      <td>2.6</td>\n",
              "      <td>3</td>\n",
              "      <td>2.5</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>9</td>\n",
              "      <td>2018</td>\n",
              "      <td>35831</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>500</td>\n",
              "      <td>37cg7e083</td>\n",
              "      <td>37cg7e081</td>\n",
              "      <td>37cg7e0836</td>\n",
              "      <td>37cg7e082018</td>\n",
              "      <td>37cg7e085.0</td>\n",
              "      <td>37cg7e083.0</td>\n",
              "      <td>37cg7e082.0</td>\n",
              "      <td>37cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082018</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e082.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082018</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e082.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e082.0</td>\n",
              "      <td>2018cg7e08500</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>3.0cg7e082.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>2.0cg7e08500</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>...</th>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24771</th>\n",
              "      <td>22386</td>\n",
              "      <td>44</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2020</td>\n",
              "      <td>30176</td>\n",
              "      <td>4.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>44cg7e082</td>\n",
              "      <td>44cg7e081</td>\n",
              "      <td>44cg7e0821</td>\n",
              "      <td>44cg7e082020</td>\n",
              "      <td>44cg7e084.0</td>\n",
              "      <td>44cg7e082.0</td>\n",
              "      <td>44cg7e080.0</td>\n",
              "      <td>44cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e082.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24772</th>\n",
              "      <td>31623</td>\n",
              "      <td>1</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>29</td>\n",
              "      <td>-999</td>\n",
              "      <td>4</td>\n",
              "      <td>2019</td>\n",
              "      <td>5357</td>\n",
              "      <td>5.0</td>\n",
              "      <td>1.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>29cg7e082019</td>\n",
              "      <td>29cg7e085.0</td>\n",
              "      <td>29cg7e081.0</td>\n",
              "      <td>29cg7e080.0</td>\n",
              "      <td>29cg7e0813</td>\n",
              "      <td>2019cg7e085.0</td>\n",
              "      <td>2019cg7e081.0</td>\n",
              "      <td>2019cg7e080.0</td>\n",
              "      <td>2019cg7e0813</td>\n",
              "      <td>5.0cg7e081.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>1.0cg7e080.0</td>\n",
              "      <td>1.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24773</th>\n",
              "      <td>10204</td>\n",
              "      <td>8</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>18</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2018</td>\n",
              "      <td>1920</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e0818</td>\n",
              "      <td>8cg7e082018</td>\n",
              "      <td>8cg7e085.0</td>\n",
              "      <td>8cg7e083.0</td>\n",
              "      <td>8cg7e080.0</td>\n",
              "      <td>8cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>18cg7e082018</td>\n",
              "      <td>18cg7e085.0</td>\n",
              "      <td>18cg7e083.0</td>\n",
              "      <td>18cg7e080.0</td>\n",
              "      <td>18cg7e0813</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e080.0</td>\n",
              "      <td>2018cg7e0813</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24774</th>\n",
              "      <td>33064</td>\n",
              "      <td>24</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>6655</td>\n",
              "      <td>5.0</td>\n",
              "      <td>6.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>24cg7e082</td>\n",
              "      <td>24cg7e081</td>\n",
              "      <td>24cg7e0821</td>\n",
              "      <td>24cg7e082020</td>\n",
              "      <td>24cg7e085.0</td>\n",
              "      <td>24cg7e086.0</td>\n",
              "      <td>24cg7e080.0</td>\n",
              "      <td>24cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e086.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e086.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e086.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e086.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>5.0cg7e086.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08107</td>\n",
              "      <td>6.0cg7e080.0</td>\n",
              "      <td>6.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24775</th>\n",
              "      <td>30023</td>\n",
              "      <td>12</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>25</td>\n",
              "      <td>-999</td>\n",
              "      <td>0</td>\n",
              "      <td>2020</td>\n",
              "      <td>3916</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>12cg7e082</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0825</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0825</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0825</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>25cg7e082020</td>\n",
              "      <td>25cg7e084.0</td>\n",
              "      <td>25cg7e083.0</td>\n",
              "      <td>25cg7e080.0</td>\n",
              "      <td>25cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "<p>41292 rows × 52 columns</p>\n",
              "</div>"
            ],
            "text/plain": [
              "       Offered_By  ...  price_roundcat_combinerelease\n",
              "0           16254  ...                   0.0cg7e08500\n",
              "1           28097  ...                   0.0cg7e08174\n",
              "2            1161  ...                    0.0cg7e0813\n",
              "3           28918  ...                   0.0cg7e08500\n",
              "4           28655  ...                   2.0cg7e08500\n",
              "...           ...  ...                            ...\n",
              "24771       22386  ...                   0.0cg7e08107\n",
              "24772       31623  ...                    0.0cg7e0813\n",
              "24773       10204  ...                    0.0cg7e0813\n",
              "24774       33064  ...                   0.0cg7e08107\n",
              "24775       30023  ...                   0.0cg7e08107\n",
              "\n",
              "[41292 rows x 52 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 60
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "bipcUOznuDc2",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 490
        },
        "outputId": "1408f7fe-5b64-4afc-e8c7-885392606076"
      },
      "source": [
        "make_double_combo(3,concat,\"sum\")"
      ],
      "execution_count": 61,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "column name: Rating\n",
            "column name: Reviews\n",
            "column name: Price\n"
          ],
          "name": "stdout"
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "      <th>Downloads</th>\n",
              "      <th>month</th>\n",
              "      <th>year</th>\n",
              "      <th>id_num</th>\n",
              "      <th>rating_round</th>\n",
              "      <th>reviews_round</th>\n",
              "      <th>price_round</th>\n",
              "      <th>release</th>\n",
              "      <th>Categorycat_combineSize</th>\n",
              "      <th>Categorycat_combineContent_Rating</th>\n",
              "      <th>Categorycat_combineOS_Version_Required</th>\n",
              "      <th>Categorycat_combineyear</th>\n",
              "      <th>Categorycat_combinerating_round</th>\n",
              "      <th>Categorycat_combinereviews_round</th>\n",
              "      <th>Categorycat_combineprice_round</th>\n",
              "      <th>Categorycat_combinerelease</th>\n",
              "      <th>Sizecat_combineContent_Rating</th>\n",
              "      <th>Sizecat_combineOS_Version_Required</th>\n",
              "      <th>Sizecat_combineyear</th>\n",
              "      <th>Sizecat_combinerating_round</th>\n",
              "      <th>Sizecat_combinereviews_round</th>\n",
              "      <th>Sizecat_combineprice_round</th>\n",
              "      <th>Sizecat_combinerelease</th>\n",
              "      <th>Content_Ratingcat_combineOS_Version_Required</th>\n",
              "      <th>Content_Ratingcat_combineyear</th>\n",
              "      <th>Content_Ratingcat_combinerating_round</th>\n",
              "      <th>Content_Ratingcat_combinereviews_round</th>\n",
              "      <th>Content_Ratingcat_combineprice_round</th>\n",
              "      <th>Content_Ratingcat_combinerelease</th>\n",
              "      <th>OS_Version_Requiredcat_combineyear</th>\n",
              "      <th>OS_Version_Requiredcat_combinerating_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinereviews_round</th>\n",
              "      <th>OS_Version_Requiredcat_combineprice_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinerelease</th>\n",
              "      <th>yearcat_combinerating_round</th>\n",
              "      <th>yearcat_combinereviews_round</th>\n",
              "      <th>yearcat_combineprice_round</th>\n",
              "      <th>yearcat_combinerelease</th>\n",
              "      <th>rating_roundcat_combinereviews_round</th>\n",
              "      <th>rating_roundcat_combineprice_round</th>\n",
              "      <th>rating_roundcat_combinerelease</th>\n",
              "      <th>reviews_roundcat_combineprice_round</th>\n",
              "      <th>reviews_roundcat_combinerelease</th>\n",
              "      <th>price_roundcat_combinerelease</th>\n",
              "      <th>RatingsumReviews</th>\n",
              "      <th>RatingsumPrice</th>\n",
              "      <th>ReviewssumPrice</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>16254</td>\n",
              "      <td>12</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>100,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>24654</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>12cg7e083</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0836</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "      <td>7.4</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>28097</td>\n",
              "      <td>38</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>7</td>\n",
              "      <td>2020</td>\n",
              "      <td>35329</td>\n",
              "      <td>5.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>174</td>\n",
              "      <td>38cg7e082</td>\n",
              "      <td>38cg7e081</td>\n",
              "      <td>38cg7e0821</td>\n",
              "      <td>38cg7e082020</td>\n",
              "      <td>38cg7e085.0</td>\n",
              "      <td>38cg7e082.0</td>\n",
              "      <td>38cg7e080.0</td>\n",
              "      <td>38cg7e08174</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08174</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08174</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08174</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08174</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08174</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08174</td>\n",
              "      <td>0.0cg7e08174</td>\n",
              "      <td>7.3</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>1161</td>\n",
              "      <td>21</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>10,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>11044</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>21cg7e082</td>\n",
              "      <td>21cg7e081</td>\n",
              "      <td>21cg7e0821</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e0813</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e0813</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>6.9</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>28918</td>\n",
              "      <td>4</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>4</td>\n",
              "      <td>36</td>\n",
              "      <td>10,000,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>36068</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>4cg7e083</td>\n",
              "      <td>4cg7e084</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>3cg7e084</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e085.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "      <td>9.1</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>28655</td>\n",
              "      <td>37</td>\n",
              "      <td>4.6</td>\n",
              "      <td>2.6</td>\n",
              "      <td>3</td>\n",
              "      <td>2.5</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>9</td>\n",
              "      <td>2018</td>\n",
              "      <td>35831</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>500</td>\n",
              "      <td>37cg7e083</td>\n",
              "      <td>37cg7e081</td>\n",
              "      <td>37cg7e0836</td>\n",
              "      <td>37cg7e082018</td>\n",
              "      <td>37cg7e085.0</td>\n",
              "      <td>37cg7e083.0</td>\n",
              "      <td>37cg7e082.0</td>\n",
              "      <td>37cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082018</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e082.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082018</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e082.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e082.0</td>\n",
              "      <td>2018cg7e08500</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>3.0cg7e082.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>2.0cg7e08500</td>\n",
              "      <td>7.2</td>\n",
              "      <td>7.1</td>\n",
              "      <td>5.1</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>...</th>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24771</th>\n",
              "      <td>22386</td>\n",
              "      <td>44</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2020</td>\n",
              "      <td>30176</td>\n",
              "      <td>4.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>44cg7e082</td>\n",
              "      <td>44cg7e081</td>\n",
              "      <td>44cg7e0821</td>\n",
              "      <td>44cg7e082020</td>\n",
              "      <td>44cg7e084.0</td>\n",
              "      <td>44cg7e082.0</td>\n",
              "      <td>44cg7e080.0</td>\n",
              "      <td>44cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e082.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>5.3</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24772</th>\n",
              "      <td>31623</td>\n",
              "      <td>1</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>29</td>\n",
              "      <td>-999</td>\n",
              "      <td>4</td>\n",
              "      <td>2019</td>\n",
              "      <td>5357</td>\n",
              "      <td>5.0</td>\n",
              "      <td>1.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>29cg7e082019</td>\n",
              "      <td>29cg7e085.0</td>\n",
              "      <td>29cg7e081.0</td>\n",
              "      <td>29cg7e080.0</td>\n",
              "      <td>29cg7e0813</td>\n",
              "      <td>2019cg7e085.0</td>\n",
              "      <td>2019cg7e081.0</td>\n",
              "      <td>2019cg7e080.0</td>\n",
              "      <td>2019cg7e0813</td>\n",
              "      <td>5.0cg7e081.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>1.0cg7e080.0</td>\n",
              "      <td>1.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>5.4</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24773</th>\n",
              "      <td>10204</td>\n",
              "      <td>8</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>18</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2018</td>\n",
              "      <td>1920</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e0818</td>\n",
              "      <td>8cg7e082018</td>\n",
              "      <td>8cg7e085.0</td>\n",
              "      <td>8cg7e083.0</td>\n",
              "      <td>8cg7e080.0</td>\n",
              "      <td>8cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>18cg7e082018</td>\n",
              "      <td>18cg7e085.0</td>\n",
              "      <td>18cg7e083.0</td>\n",
              "      <td>18cg7e080.0</td>\n",
              "      <td>18cg7e0813</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e080.0</td>\n",
              "      <td>2018cg7e0813</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>7.5</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24774</th>\n",
              "      <td>33064</td>\n",
              "      <td>24</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>6655</td>\n",
              "      <td>5.0</td>\n",
              "      <td>6.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>24cg7e082</td>\n",
              "      <td>24cg7e081</td>\n",
              "      <td>24cg7e0821</td>\n",
              "      <td>24cg7e082020</td>\n",
              "      <td>24cg7e085.0</td>\n",
              "      <td>24cg7e086.0</td>\n",
              "      <td>24cg7e080.0</td>\n",
              "      <td>24cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e086.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e086.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e086.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e086.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>5.0cg7e086.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08107</td>\n",
              "      <td>6.0cg7e080.0</td>\n",
              "      <td>6.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>10.1</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24775</th>\n",
              "      <td>30023</td>\n",
              "      <td>12</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>25</td>\n",
              "      <td>-999</td>\n",
              "      <td>0</td>\n",
              "      <td>2020</td>\n",
              "      <td>3916</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>12cg7e082</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0825</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0825</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0825</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>25cg7e082020</td>\n",
              "      <td>25cg7e084.0</td>\n",
              "      <td>25cg7e083.0</td>\n",
              "      <td>25cg7e080.0</td>\n",
              "      <td>25cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>7.2</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "<p>41292 rows × 55 columns</p>\n",
              "</div>"
            ],
            "text/plain": [
              "       Offered_By  Category  ...  RatingsumPrice  ReviewssumPrice\n",
              "0           16254        12  ...             4.2              3.2\n",
              "1           28097        38  ...             4.8              2.5\n",
              "2            1161        21  ...             4.3              2.6\n",
              "3           28918         4  ...             4.0              5.1\n",
              "4           28655        37  ...             7.1              5.1\n",
              "...           ...       ...  ...             ...              ...\n",
              "24771       22386        44  ...             3.7              1.6\n",
              "24772       31623         1  ...             4.8              0.6\n",
              "24773       10204         8  ...             4.8              2.7\n",
              "24774       33064        24  ...             4.6              5.5\n",
              "24775       30023        12  ...             4.0              3.2\n",
              "\n",
              "[41292 rows x 55 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 61
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "V0bqfL9ruLzv",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 490
        },
        "outputId": "4b9044c9-ee51-4b13-d03b-6123740c4fab"
      },
      "source": [
        "make_double_combo(3,concat,\"diff\")"
      ],
      "execution_count": 62,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "column name: Rating\n",
            "column name: Reviews\n",
            "column name: Price\n"
          ],
          "name": "stdout"
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "      <th>Downloads</th>\n",
              "      <th>month</th>\n",
              "      <th>year</th>\n",
              "      <th>id_num</th>\n",
              "      <th>rating_round</th>\n",
              "      <th>reviews_round</th>\n",
              "      <th>price_round</th>\n",
              "      <th>release</th>\n",
              "      <th>Categorycat_combineSize</th>\n",
              "      <th>Categorycat_combineContent_Rating</th>\n",
              "      <th>Categorycat_combineOS_Version_Required</th>\n",
              "      <th>Categorycat_combineyear</th>\n",
              "      <th>Categorycat_combinerating_round</th>\n",
              "      <th>Categorycat_combinereviews_round</th>\n",
              "      <th>Categorycat_combineprice_round</th>\n",
              "      <th>Categorycat_combinerelease</th>\n",
              "      <th>Sizecat_combineContent_Rating</th>\n",
              "      <th>Sizecat_combineOS_Version_Required</th>\n",
              "      <th>Sizecat_combineyear</th>\n",
              "      <th>Sizecat_combinerating_round</th>\n",
              "      <th>Sizecat_combinereviews_round</th>\n",
              "      <th>Sizecat_combineprice_round</th>\n",
              "      <th>Sizecat_combinerelease</th>\n",
              "      <th>Content_Ratingcat_combineOS_Version_Required</th>\n",
              "      <th>Content_Ratingcat_combineyear</th>\n",
              "      <th>Content_Ratingcat_combinerating_round</th>\n",
              "      <th>Content_Ratingcat_combinereviews_round</th>\n",
              "      <th>Content_Ratingcat_combineprice_round</th>\n",
              "      <th>Content_Ratingcat_combinerelease</th>\n",
              "      <th>OS_Version_Requiredcat_combineyear</th>\n",
              "      <th>OS_Version_Requiredcat_combinerating_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinereviews_round</th>\n",
              "      <th>OS_Version_Requiredcat_combineprice_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinerelease</th>\n",
              "      <th>yearcat_combinerating_round</th>\n",
              "      <th>yearcat_combinereviews_round</th>\n",
              "      <th>yearcat_combineprice_round</th>\n",
              "      <th>yearcat_combinerelease</th>\n",
              "      <th>rating_roundcat_combinereviews_round</th>\n",
              "      <th>rating_roundcat_combineprice_round</th>\n",
              "      <th>rating_roundcat_combinerelease</th>\n",
              "      <th>reviews_roundcat_combineprice_round</th>\n",
              "      <th>reviews_roundcat_combinerelease</th>\n",
              "      <th>price_roundcat_combinerelease</th>\n",
              "      <th>RatingsumReviews</th>\n",
              "      <th>RatingsumPrice</th>\n",
              "      <th>ReviewssumPrice</th>\n",
              "      <th>RatingdiffReviews</th>\n",
              "      <th>RatingdiffPrice</th>\n",
              "      <th>ReviewsdiffPrice</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>16254</td>\n",
              "      <td>12</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>100,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>24654</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>12cg7e083</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0836</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "      <td>7.4</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>1.0</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>28097</td>\n",
              "      <td>38</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>7</td>\n",
              "      <td>2020</td>\n",
              "      <td>35329</td>\n",
              "      <td>5.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>174</td>\n",
              "      <td>38cg7e082</td>\n",
              "      <td>38cg7e081</td>\n",
              "      <td>38cg7e0821</td>\n",
              "      <td>38cg7e082020</td>\n",
              "      <td>38cg7e085.0</td>\n",
              "      <td>38cg7e082.0</td>\n",
              "      <td>38cg7e080.0</td>\n",
              "      <td>38cg7e08174</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08174</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08174</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08174</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08174</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08174</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08174</td>\n",
              "      <td>0.0cg7e08174</td>\n",
              "      <td>7.3</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>2.3</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>1161</td>\n",
              "      <td>21</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>10,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>11044</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>21cg7e082</td>\n",
              "      <td>21cg7e081</td>\n",
              "      <td>21cg7e0821</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e0813</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e0813</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>6.9</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>1.7</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>28918</td>\n",
              "      <td>4</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>4</td>\n",
              "      <td>36</td>\n",
              "      <td>10,000,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>36068</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>4cg7e083</td>\n",
              "      <td>4cg7e084</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>3cg7e084</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e085.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "      <td>9.1</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>-1.1</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>28655</td>\n",
              "      <td>37</td>\n",
              "      <td>4.6</td>\n",
              "      <td>2.6</td>\n",
              "      <td>3</td>\n",
              "      <td>2.5</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>9</td>\n",
              "      <td>2018</td>\n",
              "      <td>35831</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>500</td>\n",
              "      <td>37cg7e083</td>\n",
              "      <td>37cg7e081</td>\n",
              "      <td>37cg7e0836</td>\n",
              "      <td>37cg7e082018</td>\n",
              "      <td>37cg7e085.0</td>\n",
              "      <td>37cg7e083.0</td>\n",
              "      <td>37cg7e082.0</td>\n",
              "      <td>37cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082018</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e082.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082018</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e082.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e082.0</td>\n",
              "      <td>2018cg7e08500</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>3.0cg7e082.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>2.0cg7e08500</td>\n",
              "      <td>7.2</td>\n",
              "      <td>7.1</td>\n",
              "      <td>5.1</td>\n",
              "      <td>2.0</td>\n",
              "      <td>2.1</td>\n",
              "      <td>0.1</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>...</th>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24771</th>\n",
              "      <td>22386</td>\n",
              "      <td>44</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2020</td>\n",
              "      <td>30176</td>\n",
              "      <td>4.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>44cg7e082</td>\n",
              "      <td>44cg7e081</td>\n",
              "      <td>44cg7e0821</td>\n",
              "      <td>44cg7e082020</td>\n",
              "      <td>44cg7e084.0</td>\n",
              "      <td>44cg7e082.0</td>\n",
              "      <td>44cg7e080.0</td>\n",
              "      <td>44cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e082.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>5.3</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "      <td>2.1</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24772</th>\n",
              "      <td>31623</td>\n",
              "      <td>1</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>29</td>\n",
              "      <td>-999</td>\n",
              "      <td>4</td>\n",
              "      <td>2019</td>\n",
              "      <td>5357</td>\n",
              "      <td>5.0</td>\n",
              "      <td>1.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>29cg7e082019</td>\n",
              "      <td>29cg7e085.0</td>\n",
              "      <td>29cg7e081.0</td>\n",
              "      <td>29cg7e080.0</td>\n",
              "      <td>29cg7e0813</td>\n",
              "      <td>2019cg7e085.0</td>\n",
              "      <td>2019cg7e081.0</td>\n",
              "      <td>2019cg7e080.0</td>\n",
              "      <td>2019cg7e0813</td>\n",
              "      <td>5.0cg7e081.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>1.0cg7e080.0</td>\n",
              "      <td>1.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>5.4</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "      <td>4.2</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24773</th>\n",
              "      <td>10204</td>\n",
              "      <td>8</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>18</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2018</td>\n",
              "      <td>1920</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e0818</td>\n",
              "      <td>8cg7e082018</td>\n",
              "      <td>8cg7e085.0</td>\n",
              "      <td>8cg7e083.0</td>\n",
              "      <td>8cg7e080.0</td>\n",
              "      <td>8cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>18cg7e082018</td>\n",
              "      <td>18cg7e085.0</td>\n",
              "      <td>18cg7e083.0</td>\n",
              "      <td>18cg7e080.0</td>\n",
              "      <td>18cg7e0813</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e080.0</td>\n",
              "      <td>2018cg7e0813</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>7.5</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "      <td>2.1</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24774</th>\n",
              "      <td>33064</td>\n",
              "      <td>24</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>6655</td>\n",
              "      <td>5.0</td>\n",
              "      <td>6.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>24cg7e082</td>\n",
              "      <td>24cg7e081</td>\n",
              "      <td>24cg7e0821</td>\n",
              "      <td>24cg7e082020</td>\n",
              "      <td>24cg7e085.0</td>\n",
              "      <td>24cg7e086.0</td>\n",
              "      <td>24cg7e080.0</td>\n",
              "      <td>24cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e086.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e086.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e086.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e086.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>5.0cg7e086.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08107</td>\n",
              "      <td>6.0cg7e080.0</td>\n",
              "      <td>6.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>10.1</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "      <td>-0.9</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24775</th>\n",
              "      <td>30023</td>\n",
              "      <td>12</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>25</td>\n",
              "      <td>-999</td>\n",
              "      <td>0</td>\n",
              "      <td>2020</td>\n",
              "      <td>3916</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>12cg7e082</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0825</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0825</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0825</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>25cg7e082020</td>\n",
              "      <td>25cg7e084.0</td>\n",
              "      <td>25cg7e083.0</td>\n",
              "      <td>25cg7e080.0</td>\n",
              "      <td>25cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>7.2</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "      <td>0.8</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "<p>41292 rows × 58 columns</p>\n",
              "</div>"
            ],
            "text/plain": [
              "       Offered_By  Category  ...  RatingdiffPrice  ReviewsdiffPrice\n",
              "0           16254        12  ...              4.2               3.2\n",
              "1           28097        38  ...              4.8               2.5\n",
              "2            1161        21  ...              4.3               2.6\n",
              "3           28918         4  ...              4.0               5.1\n",
              "4           28655        37  ...              2.1               0.1\n",
              "...           ...       ...  ...              ...               ...\n",
              "24771       22386        44  ...              3.7               1.6\n",
              "24772       31623         1  ...              4.8               0.6\n",
              "24773       10204         8  ...              4.8               2.7\n",
              "24774       33064        24  ...              4.6               5.5\n",
              "24775       30023        12  ...              4.0               3.2\n",
              "\n",
              "[41292 rows x 58 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 62
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "xUrbwZ0guVFF",
        "colab_type": "code",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 490
        },
        "outputId": "b874e19d-b93d-4904-ec4d-e9e0b84b2a3a"
      },
      "source": [
        "make_double_combo(3,concat,\"product\")"
      ],
      "execution_count": 63,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "column name: Rating\n",
            "column name: Reviews\n",
            "column name: Price\n"
          ],
          "name": "stdout"
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>Offered_By</th>\n",
              "      <th>Category</th>\n",
              "      <th>Rating</th>\n",
              "      <th>Reviews</th>\n",
              "      <th>Size</th>\n",
              "      <th>Price</th>\n",
              "      <th>Content_Rating</th>\n",
              "      <th>OS_Version_Required</th>\n",
              "      <th>Downloads</th>\n",
              "      <th>month</th>\n",
              "      <th>year</th>\n",
              "      <th>id_num</th>\n",
              "      <th>rating_round</th>\n",
              "      <th>reviews_round</th>\n",
              "      <th>price_round</th>\n",
              "      <th>release</th>\n",
              "      <th>Categorycat_combineSize</th>\n",
              "      <th>Categorycat_combineContent_Rating</th>\n",
              "      <th>Categorycat_combineOS_Version_Required</th>\n",
              "      <th>Categorycat_combineyear</th>\n",
              "      <th>Categorycat_combinerating_round</th>\n",
              "      <th>Categorycat_combinereviews_round</th>\n",
              "      <th>Categorycat_combineprice_round</th>\n",
              "      <th>Categorycat_combinerelease</th>\n",
              "      <th>Sizecat_combineContent_Rating</th>\n",
              "      <th>Sizecat_combineOS_Version_Required</th>\n",
              "      <th>Sizecat_combineyear</th>\n",
              "      <th>Sizecat_combinerating_round</th>\n",
              "      <th>Sizecat_combinereviews_round</th>\n",
              "      <th>Sizecat_combineprice_round</th>\n",
              "      <th>Sizecat_combinerelease</th>\n",
              "      <th>Content_Ratingcat_combineOS_Version_Required</th>\n",
              "      <th>Content_Ratingcat_combineyear</th>\n",
              "      <th>Content_Ratingcat_combinerating_round</th>\n",
              "      <th>Content_Ratingcat_combinereviews_round</th>\n",
              "      <th>Content_Ratingcat_combineprice_round</th>\n",
              "      <th>Content_Ratingcat_combinerelease</th>\n",
              "      <th>OS_Version_Requiredcat_combineyear</th>\n",
              "      <th>OS_Version_Requiredcat_combinerating_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinereviews_round</th>\n",
              "      <th>OS_Version_Requiredcat_combineprice_round</th>\n",
              "      <th>OS_Version_Requiredcat_combinerelease</th>\n",
              "      <th>yearcat_combinerating_round</th>\n",
              "      <th>yearcat_combinereviews_round</th>\n",
              "      <th>yearcat_combineprice_round</th>\n",
              "      <th>yearcat_combinerelease</th>\n",
              "      <th>rating_roundcat_combinereviews_round</th>\n",
              "      <th>rating_roundcat_combineprice_round</th>\n",
              "      <th>rating_roundcat_combinerelease</th>\n",
              "      <th>reviews_roundcat_combineprice_round</th>\n",
              "      <th>reviews_roundcat_combinerelease</th>\n",
              "      <th>price_roundcat_combinerelease</th>\n",
              "      <th>RatingsumReviews</th>\n",
              "      <th>RatingsumPrice</th>\n",
              "      <th>ReviewssumPrice</th>\n",
              "      <th>RatingdiffReviews</th>\n",
              "      <th>RatingdiffPrice</th>\n",
              "      <th>ReviewsdiffPrice</th>\n",
              "      <th>RatingproductReviews</th>\n",
              "      <th>RatingproductPrice</th>\n",
              "      <th>ReviewsproductPrice</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>16254</td>\n",
              "      <td>12</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>100,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>24654</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>12cg7e083</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0836</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "      <td>7.4</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>1.0</td>\n",
              "      <td>4.2</td>\n",
              "      <td>3.2</td>\n",
              "      <td>13.44</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>28097</td>\n",
              "      <td>38</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>7</td>\n",
              "      <td>2020</td>\n",
              "      <td>35329</td>\n",
              "      <td>5.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>174</td>\n",
              "      <td>38cg7e082</td>\n",
              "      <td>38cg7e081</td>\n",
              "      <td>38cg7e0821</td>\n",
              "      <td>38cg7e082020</td>\n",
              "      <td>38cg7e085.0</td>\n",
              "      <td>38cg7e082.0</td>\n",
              "      <td>38cg7e080.0</td>\n",
              "      <td>38cg7e08174</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08174</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08174</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08174</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08174</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08174</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08174</td>\n",
              "      <td>0.0cg7e08174</td>\n",
              "      <td>7.3</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>2.3</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.5</td>\n",
              "      <td>12.00</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>1161</td>\n",
              "      <td>21</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>10,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>11044</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>21cg7e082</td>\n",
              "      <td>21cg7e081</td>\n",
              "      <td>21cg7e0821</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e0813</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e083.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e0813</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e0813</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>6.9</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>1.7</td>\n",
              "      <td>4.3</td>\n",
              "      <td>2.6</td>\n",
              "      <td>11.18</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>28918</td>\n",
              "      <td>4</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>3</td>\n",
              "      <td>0.0</td>\n",
              "      <td>4</td>\n",
              "      <td>36</td>\n",
              "      <td>10,000,000+</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>36068</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>500</td>\n",
              "      <td>4cg7e083</td>\n",
              "      <td>4cg7e084</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>3cg7e084</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082020</td>\n",
              "      <td>3cg7e084.0</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e080.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>4cg7e0836</td>\n",
              "      <td>4cg7e082020</td>\n",
              "      <td>4cg7e084.0</td>\n",
              "      <td>4cg7e085.0</td>\n",
              "      <td>4cg7e080.0</td>\n",
              "      <td>4cg7e08500</td>\n",
              "      <td>36cg7e082020</td>\n",
              "      <td>36cg7e084.0</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e080.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08500</td>\n",
              "      <td>4.0cg7e085.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08500</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>0.0cg7e08500</td>\n",
              "      <td>9.1</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>-1.1</td>\n",
              "      <td>4.0</td>\n",
              "      <td>5.1</td>\n",
              "      <td>20.40</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>28655</td>\n",
              "      <td>37</td>\n",
              "      <td>4.6</td>\n",
              "      <td>2.6</td>\n",
              "      <td>3</td>\n",
              "      <td>2.5</td>\n",
              "      <td>1</td>\n",
              "      <td>36</td>\n",
              "      <td>5,000+</td>\n",
              "      <td>9</td>\n",
              "      <td>2018</td>\n",
              "      <td>35831</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>500</td>\n",
              "      <td>37cg7e083</td>\n",
              "      <td>37cg7e081</td>\n",
              "      <td>37cg7e0836</td>\n",
              "      <td>37cg7e082018</td>\n",
              "      <td>37cg7e085.0</td>\n",
              "      <td>37cg7e083.0</td>\n",
              "      <td>37cg7e082.0</td>\n",
              "      <td>37cg7e08500</td>\n",
              "      <td>3cg7e081</td>\n",
              "      <td>3cg7e0836</td>\n",
              "      <td>3cg7e082018</td>\n",
              "      <td>3cg7e085.0</td>\n",
              "      <td>3cg7e083.0</td>\n",
              "      <td>3cg7e082.0</td>\n",
              "      <td>3cg7e08500</td>\n",
              "      <td>1cg7e0836</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e08500</td>\n",
              "      <td>36cg7e082018</td>\n",
              "      <td>36cg7e085.0</td>\n",
              "      <td>36cg7e083.0</td>\n",
              "      <td>36cg7e082.0</td>\n",
              "      <td>36cg7e08500</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e082.0</td>\n",
              "      <td>2018cg7e08500</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e082.0</td>\n",
              "      <td>5.0cg7e08500</td>\n",
              "      <td>3.0cg7e082.0</td>\n",
              "      <td>3.0cg7e08500</td>\n",
              "      <td>2.0cg7e08500</td>\n",
              "      <td>7.2</td>\n",
              "      <td>7.1</td>\n",
              "      <td>5.1</td>\n",
              "      <td>2.0</td>\n",
              "      <td>2.1</td>\n",
              "      <td>0.1</td>\n",
              "      <td>11.96</td>\n",
              "      <td>11.5</td>\n",
              "      <td>6.5</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>...</th>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "      <td>...</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24771</th>\n",
              "      <td>22386</td>\n",
              "      <td>44</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2020</td>\n",
              "      <td>30176</td>\n",
              "      <td>4.0</td>\n",
              "      <td>2.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>44cg7e082</td>\n",
              "      <td>44cg7e081</td>\n",
              "      <td>44cg7e0821</td>\n",
              "      <td>44cg7e082020</td>\n",
              "      <td>44cg7e084.0</td>\n",
              "      <td>44cg7e082.0</td>\n",
              "      <td>44cg7e080.0</td>\n",
              "      <td>44cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e082.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e082.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e084.0</td>\n",
              "      <td>21cg7e082.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e082.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e082.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>2.0cg7e080.0</td>\n",
              "      <td>2.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>5.3</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "      <td>2.1</td>\n",
              "      <td>3.7</td>\n",
              "      <td>1.6</td>\n",
              "      <td>5.92</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24772</th>\n",
              "      <td>31623</td>\n",
              "      <td>1</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>29</td>\n",
              "      <td>-999</td>\n",
              "      <td>4</td>\n",
              "      <td>2019</td>\n",
              "      <td>5357</td>\n",
              "      <td>5.0</td>\n",
              "      <td>1.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0829</td>\n",
              "      <td>1cg7e082019</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e081.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>29cg7e082019</td>\n",
              "      <td>29cg7e085.0</td>\n",
              "      <td>29cg7e081.0</td>\n",
              "      <td>29cg7e080.0</td>\n",
              "      <td>29cg7e0813</td>\n",
              "      <td>2019cg7e085.0</td>\n",
              "      <td>2019cg7e081.0</td>\n",
              "      <td>2019cg7e080.0</td>\n",
              "      <td>2019cg7e0813</td>\n",
              "      <td>5.0cg7e081.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>1.0cg7e080.0</td>\n",
              "      <td>1.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>5.4</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "      <td>4.2</td>\n",
              "      <td>4.8</td>\n",
              "      <td>0.6</td>\n",
              "      <td>2.88</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24773</th>\n",
              "      <td>10204</td>\n",
              "      <td>8</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "      <td>1</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>18</td>\n",
              "      <td>-999</td>\n",
              "      <td>3</td>\n",
              "      <td>2018</td>\n",
              "      <td>1920</td>\n",
              "      <td>5.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>13</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e081</td>\n",
              "      <td>8cg7e0818</td>\n",
              "      <td>8cg7e082018</td>\n",
              "      <td>8cg7e085.0</td>\n",
              "      <td>8cg7e083.0</td>\n",
              "      <td>8cg7e080.0</td>\n",
              "      <td>8cg7e0813</td>\n",
              "      <td>1cg7e081</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>1cg7e0818</td>\n",
              "      <td>1cg7e082018</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e0813</td>\n",
              "      <td>18cg7e082018</td>\n",
              "      <td>18cg7e085.0</td>\n",
              "      <td>18cg7e083.0</td>\n",
              "      <td>18cg7e080.0</td>\n",
              "      <td>18cg7e0813</td>\n",
              "      <td>2018cg7e085.0</td>\n",
              "      <td>2018cg7e083.0</td>\n",
              "      <td>2018cg7e080.0</td>\n",
              "      <td>2018cg7e0813</td>\n",
              "      <td>5.0cg7e083.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e0813</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e0813</td>\n",
              "      <td>0.0cg7e0813</td>\n",
              "      <td>7.5</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "      <td>2.1</td>\n",
              "      <td>4.8</td>\n",
              "      <td>2.7</td>\n",
              "      <td>12.96</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24774</th>\n",
              "      <td>33064</td>\n",
              "      <td>24</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>21</td>\n",
              "      <td>-999</td>\n",
              "      <td>8</td>\n",
              "      <td>2020</td>\n",
              "      <td>6655</td>\n",
              "      <td>5.0</td>\n",
              "      <td>6.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>24cg7e082</td>\n",
              "      <td>24cg7e081</td>\n",
              "      <td>24cg7e0821</td>\n",
              "      <td>24cg7e082020</td>\n",
              "      <td>24cg7e085.0</td>\n",
              "      <td>24cg7e086.0</td>\n",
              "      <td>24cg7e080.0</td>\n",
              "      <td>24cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0821</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e085.0</td>\n",
              "      <td>2cg7e086.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0821</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e085.0</td>\n",
              "      <td>1cg7e086.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>21cg7e082020</td>\n",
              "      <td>21cg7e085.0</td>\n",
              "      <td>21cg7e086.0</td>\n",
              "      <td>21cg7e080.0</td>\n",
              "      <td>21cg7e08107</td>\n",
              "      <td>2020cg7e085.0</td>\n",
              "      <td>2020cg7e086.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>5.0cg7e086.0</td>\n",
              "      <td>5.0cg7e080.0</td>\n",
              "      <td>5.0cg7e08107</td>\n",
              "      <td>6.0cg7e080.0</td>\n",
              "      <td>6.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>10.1</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "      <td>-0.9</td>\n",
              "      <td>4.6</td>\n",
              "      <td>5.5</td>\n",
              "      <td>25.30</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>24775</th>\n",
              "      <td>30023</td>\n",
              "      <td>12</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "      <td>2</td>\n",
              "      <td>0.0</td>\n",
              "      <td>1</td>\n",
              "      <td>25</td>\n",
              "      <td>-999</td>\n",
              "      <td>0</td>\n",
              "      <td>2020</td>\n",
              "      <td>3916</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.0</td>\n",
              "      <td>0.0</td>\n",
              "      <td>107</td>\n",
              "      <td>12cg7e082</td>\n",
              "      <td>12cg7e081</td>\n",
              "      <td>12cg7e0825</td>\n",
              "      <td>12cg7e082020</td>\n",
              "      <td>12cg7e084.0</td>\n",
              "      <td>12cg7e083.0</td>\n",
              "      <td>12cg7e080.0</td>\n",
              "      <td>12cg7e08107</td>\n",
              "      <td>2cg7e081</td>\n",
              "      <td>2cg7e0825</td>\n",
              "      <td>2cg7e082020</td>\n",
              "      <td>2cg7e084.0</td>\n",
              "      <td>2cg7e083.0</td>\n",
              "      <td>2cg7e080.0</td>\n",
              "      <td>2cg7e08107</td>\n",
              "      <td>1cg7e0825</td>\n",
              "      <td>1cg7e082020</td>\n",
              "      <td>1cg7e084.0</td>\n",
              "      <td>1cg7e083.0</td>\n",
              "      <td>1cg7e080.0</td>\n",
              "      <td>1cg7e08107</td>\n",
              "      <td>25cg7e082020</td>\n",
              "      <td>25cg7e084.0</td>\n",
              "      <td>25cg7e083.0</td>\n",
              "      <td>25cg7e080.0</td>\n",
              "      <td>25cg7e08107</td>\n",
              "      <td>2020cg7e084.0</td>\n",
              "      <td>2020cg7e083.0</td>\n",
              "      <td>2020cg7e080.0</td>\n",
              "      <td>2020cg7e08107</td>\n",
              "      <td>4.0cg7e083.0</td>\n",
              "      <td>4.0cg7e080.0</td>\n",
              "      <td>4.0cg7e08107</td>\n",
              "      <td>3.0cg7e080.0</td>\n",
              "      <td>3.0cg7e08107</td>\n",
              "      <td>0.0cg7e08107</td>\n",
              "      <td>7.2</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "      <td>0.8</td>\n",
              "      <td>4.0</td>\n",
              "      <td>3.2</td>\n",
              "      <td>12.80</td>\n",
              "      <td>0.0</td>\n",
              "      <td>0.0</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "<p>41292 rows × 61 columns</p>\n",
              "</div>"
            ],
            "text/plain": [
              "       Offered_By  Category  ...  RatingproductPrice  ReviewsproductPrice\n",
              "0           16254        12  ...                 0.0                  0.0\n",
              "1           28097        38  ...                 0.0                  0.0\n",
              "2            1161        21  ...                 0.0                  0.0\n",
              "3           28918         4  ...                 0.0                  0.0\n",
              "4           28655        37  ...                11.5                  6.5\n",
              "...           ...       ...  ...                 ...                  ...\n",
              "24771       22386        44  ...                 0.0                  0.0\n",
              "24772       31623         1  ...                 0.0                  0.0\n",
              "24773       10204         8  ...                 0.0                  0.0\n",
              "24774       33064        24  ...                 0.0                  0.0\n",
              "24775       30023        12  ...                 0.0                  0.0\n",
              "\n",
              "[41292 rows x 61 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 63
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "tVHA4-O1pq7Y",
        "colab": {}
      },
      "source": [
        "str_features=(np.where(concat.dtypes==object)[0])"
      ],
      "execution_count": 64,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "dpztQFfGpq7g",
        "colab": {}
      },
      "source": [
        "le=LabelEncoder()"
      ],
      "execution_count": 65,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "3lwnOQBFpq7h",
        "colab": {}
      },
      "source": [
        "lis=list(concat.columns[str_features])"
      ],
      "execution_count": 66,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "_OilVXbqpq7i",
        "colab": {}
      },
      "source": [
        "lis.remove('Downloads')"
      ],
      "execution_count": 67,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "BsjSA5BLpq7n",
        "colab": {}
      },
      "source": [
        "for i in lis:\n",
        "  concat[i]=le.fit_transform(concat[i].astype(\"str\"))\n",
        "  le=LabelEncoder()"
      ],
      "execution_count": 68,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "KLlzEezhcEDr",
        "colab": {}
      },
      "source": [
        "Train=concat.loc[concat['Downloads']!=-999,:]"
      ],
      "execution_count": 69,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "fSbiS7YbcEDy",
        "colab": {}
      },
      "source": [
        "Test=concat.loc[concat['Downloads']==-999,:]"
      ],
      "execution_count": 70,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "jaf-jHrNp2lN",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "v=['rating_round','reviews_round','price_round']\n",
        "\n",
        "for i in v:\n",
        "  Test.drop(columns=[i],inplace=True)\n",
        "  Train.drop(columns=[i],inplace=True)"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "uz2vZKnFcED2",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 34
        },
        "outputId": "3c42f1ad-c5bf-49aa-de48-018d51a96f14"
      },
      "source": [
        "print(Train.shape,Test.shape)"
      ],
      "execution_count": 72,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "(16516, 58) (24776, 58)\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "IZYQwqAHcED7",
        "colab": {}
      },
      "source": [
        "x,y=Train.drop(columns=['Downloads']),Train['Downloads']"
      ],
      "execution_count": 73,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "L_zYr0lNcED_",
        "colab": {}
      },
      "source": [
        "x_train,x_test,y_train,y_test=train_test_split(x,y,test_size=0.2)"
      ],
      "execution_count": 74,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "R_0VgxmWurQz",
        "colab_type": "code",
        "colab": {}
      },
      "source": [
        "from lightgbm import LGBMClassifier"
      ],
      "execution_count": 76,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "8JEMksJKqFs9",
        "colab": {}
      },
      "source": [
        "lgb=LGBMClassifier(n_estimators=1500,learning_rate=0.01,reg_alpha=1)\n"
      ],
      "execution_count": 77,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "4EbjHfn2qFtD",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "outputId": "b3903239-2d2b-4f3d-83c1-a9c2636e52f7"
      },
      "source": [
        "lgb.fit(x_train,y_train,eval_set=(x_test,y_test),early_stopping_rounds=50)\n"
      ],
      "execution_count": 78,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "[1]\tvalid_0's multi_logloss: 2.33959\n",
            "Training until validation scores don't improve for 50 rounds.\n",
            "[2]\tvalid_0's multi_logloss: 2.31933\n",
            "[3]\tvalid_0's multi_logloss: 2.29972\n",
            "[4]\tvalid_0's multi_logloss: 2.28082\n",
            "[5]\tvalid_0's multi_logloss: 2.2631\n",
            "[6]\tvalid_0's multi_logloss: 2.24585\n",
            "[7]\tvalid_0's multi_logloss: 2.22933\n",
            "[8]\tvalid_0's multi_logloss: 2.21351\n",
            "[9]\tvalid_0's multi_logloss: 2.19805\n",
            "[10]\tvalid_0's multi_logloss: 2.18316\n",
            "[11]\tvalid_0's multi_logloss: 2.16869\n",
            "[12]\tvalid_0's multi_logloss: 2.15472\n",
            "[13]\tvalid_0's multi_logloss: 2.14082\n",
            "[14]\tvalid_0's multi_logloss: 2.12746\n",
            "[15]\tvalid_0's multi_logloss: 2.11446\n",
            "[16]\tvalid_0's multi_logloss: 2.10168\n",
            "[17]\tvalid_0's multi_logloss: 2.08931\n",
            "[18]\tvalid_0's multi_logloss: 2.07714\n",
            "[19]\tvalid_0's multi_logloss: 2.06524\n",
            "[20]\tvalid_0's multi_logloss: 2.05363\n",
            "[21]\tvalid_0's multi_logloss: 2.04219\n",
            "[22]\tvalid_0's multi_logloss: 2.03102\n",
            "[23]\tvalid_0's multi_logloss: 2.02017\n",
            "[24]\tvalid_0's multi_logloss: 2.00938\n",
            "[25]\tvalid_0's multi_logloss: 1.99891\n",
            "[26]\tvalid_0's multi_logloss: 1.98861\n",
            "[27]\tvalid_0's multi_logloss: 1.97854\n",
            "[28]\tvalid_0's multi_logloss: 1.96875\n",
            "[29]\tvalid_0's multi_logloss: 1.95903\n",
            "[30]\tvalid_0's multi_logloss: 1.94952\n",
            "[31]\tvalid_0's multi_logloss: 1.94015\n",
            "[32]\tvalid_0's multi_logloss: 1.93092\n",
            "[33]\tvalid_0's multi_logloss: 1.92191\n",
            "[34]\tvalid_0's multi_logloss: 1.91312\n",
            "[35]\tvalid_0's multi_logloss: 1.90432\n",
            "[36]\tvalid_0's multi_logloss: 1.89577\n",
            "[37]\tvalid_0's multi_logloss: 1.88727\n",
            "[38]\tvalid_0's multi_logloss: 1.87892\n",
            "[39]\tvalid_0's multi_logloss: 1.87073\n",
            "[40]\tvalid_0's multi_logloss: 1.86262\n",
            "[41]\tvalid_0's multi_logloss: 1.85454\n",
            "[42]\tvalid_0's multi_logloss: 1.84672\n",
            "[43]\tvalid_0's multi_logloss: 1.8389\n",
            "[44]\tvalid_0's multi_logloss: 1.83123\n",
            "[45]\tvalid_0's multi_logloss: 1.82371\n",
            "[46]\tvalid_0's multi_logloss: 1.81629\n",
            "[47]\tvalid_0's multi_logloss: 1.80897\n",
            "[48]\tvalid_0's multi_logloss: 1.80183\n",
            "[49]\tvalid_0's multi_logloss: 1.7947\n",
            "[50]\tvalid_0's multi_logloss: 1.78773\n",
            "[51]\tvalid_0's multi_logloss: 1.78084\n",
            "[52]\tvalid_0's multi_logloss: 1.77412\n",
            "[53]\tvalid_0's multi_logloss: 1.76738\n",
            "[54]\tvalid_0's multi_logloss: 1.76072\n",
            "[55]\tvalid_0's multi_logloss: 1.75426\n",
            "[56]\tvalid_0's multi_logloss: 1.74777\n",
            "[57]\tvalid_0's multi_logloss: 1.7415\n",
            "[58]\tvalid_0's multi_logloss: 1.73525\n",
            "[59]\tvalid_0's multi_logloss: 1.72915\n",
            "[60]\tvalid_0's multi_logloss: 1.72307\n",
            "[61]\tvalid_0's multi_logloss: 1.7171\n",
            "[62]\tvalid_0's multi_logloss: 1.71122\n",
            "[63]\tvalid_0's multi_logloss: 1.70535\n",
            "[64]\tvalid_0's multi_logloss: 1.69958\n",
            "[65]\tvalid_0's multi_logloss: 1.69391\n",
            "[66]\tvalid_0's multi_logloss: 1.68835\n",
            "[67]\tvalid_0's multi_logloss: 1.68282\n",
            "[68]\tvalid_0's multi_logloss: 1.67735\n",
            "[69]\tvalid_0's multi_logloss: 1.67204\n",
            "[70]\tvalid_0's multi_logloss: 1.66679\n",
            "[71]\tvalid_0's multi_logloss: 1.66154\n",
            "[72]\tvalid_0's multi_logloss: 1.65638\n",
            "[73]\tvalid_0's multi_logloss: 1.65123\n",
            "[74]\tvalid_0's multi_logloss: 1.64617\n",
            "[75]\tvalid_0's multi_logloss: 1.64115\n",
            "[76]\tvalid_0's multi_logloss: 1.63631\n",
            "[77]\tvalid_0's multi_logloss: 1.63143\n",
            "[78]\tvalid_0's multi_logloss: 1.62666\n",
            "[79]\tvalid_0's multi_logloss: 1.62189\n",
            "[80]\tvalid_0's multi_logloss: 1.61727\n",
            "[81]\tvalid_0's multi_logloss: 1.61257\n",
            "[82]\tvalid_0's multi_logloss: 1.60792\n",
            "[83]\tvalid_0's multi_logloss: 1.60333\n",
            "[84]\tvalid_0's multi_logloss: 1.59885\n",
            "[85]\tvalid_0's multi_logloss: 1.59443\n",
            "[86]\tvalid_0's multi_logloss: 1.59005\n",
            "[87]\tvalid_0's multi_logloss: 1.58573\n",
            "[88]\tvalid_0's multi_logloss: 1.58148\n",
            "[89]\tvalid_0's multi_logloss: 1.5772\n",
            "[90]\tvalid_0's multi_logloss: 1.57295\n",
            "[91]\tvalid_0's multi_logloss: 1.5688\n",
            "[92]\tvalid_0's multi_logloss: 1.56466\n",
            "[93]\tvalid_0's multi_logloss: 1.56059\n",
            "[94]\tvalid_0's multi_logloss: 1.55653\n",
            "[95]\tvalid_0's multi_logloss: 1.55255\n",
            "[96]\tvalid_0's multi_logloss: 1.54863\n",
            "[97]\tvalid_0's multi_logloss: 1.54476\n",
            "[98]\tvalid_0's multi_logloss: 1.54088\n",
            "[99]\tvalid_0's multi_logloss: 1.53701\n",
            "[100]\tvalid_0's multi_logloss: 1.53325\n",
            "[101]\tvalid_0's multi_logloss: 1.52944\n",
            "[102]\tvalid_0's multi_logloss: 1.52569\n",
            "[103]\tvalid_0's multi_logloss: 1.52198\n",
            "[104]\tvalid_0's multi_logloss: 1.51833\n",
            "[105]\tvalid_0's multi_logloss: 1.51475\n",
            "[106]\tvalid_0's multi_logloss: 1.51116\n",
            "[107]\tvalid_0's multi_logloss: 1.50761\n",
            "[108]\tvalid_0's multi_logloss: 1.50413\n",
            "[109]\tvalid_0's multi_logloss: 1.50071\n",
            "[110]\tvalid_0's multi_logloss: 1.49729\n",
            "[111]\tvalid_0's multi_logloss: 1.49397\n",
            "[112]\tvalid_0's multi_logloss: 1.49063\n",
            "[113]\tvalid_0's multi_logloss: 1.48734\n",
            "[114]\tvalid_0's multi_logloss: 1.48409\n",
            "[115]\tvalid_0's multi_logloss: 1.48081\n",
            "[116]\tvalid_0's multi_logloss: 1.47756\n",
            "[117]\tvalid_0's multi_logloss: 1.47447\n",
            "[118]\tvalid_0's multi_logloss: 1.47134\n",
            "[119]\tvalid_0's multi_logloss: 1.46822\n",
            "[120]\tvalid_0's multi_logloss: 1.46517\n",
            "[121]\tvalid_0's multi_logloss: 1.4621\n",
            "[122]\tvalid_0's multi_logloss: 1.45909\n",
            "[123]\tvalid_0's multi_logloss: 1.4561\n",
            "[124]\tvalid_0's multi_logloss: 1.45311\n",
            "[125]\tvalid_0's multi_logloss: 1.45021\n",
            "[126]\tvalid_0's multi_logloss: 1.44731\n",
            "[127]\tvalid_0's multi_logloss: 1.4444\n",
            "[128]\tvalid_0's multi_logloss: 1.44151\n",
            "[129]\tvalid_0's multi_logloss: 1.43872\n",
            "[130]\tvalid_0's multi_logloss: 1.43596\n",
            "[131]\tvalid_0's multi_logloss: 1.43326\n",
            "[132]\tvalid_0's multi_logloss: 1.43047\n",
            "[133]\tvalid_0's multi_logloss: 1.42777\n",
            "[134]\tvalid_0's multi_logloss: 1.4251\n",
            "[135]\tvalid_0's multi_logloss: 1.42246\n",
            "[136]\tvalid_0's multi_logloss: 1.41987\n",
            "[137]\tvalid_0's multi_logloss: 1.41724\n",
            "[138]\tvalid_0's multi_logloss: 1.41464\n",
            "[139]\tvalid_0's multi_logloss: 1.4121\n",
            "[140]\tvalid_0's multi_logloss: 1.40961\n",
            "[141]\tvalid_0's multi_logloss: 1.40714\n",
            "[142]\tvalid_0's multi_logloss: 1.4047\n",
            "[143]\tvalid_0's multi_logloss: 1.40225\n",
            "[144]\tvalid_0's multi_logloss: 1.39981\n",
            "[145]\tvalid_0's multi_logloss: 1.39744\n",
            "[146]\tvalid_0's multi_logloss: 1.39506\n",
            "[147]\tvalid_0's multi_logloss: 1.39272\n",
            "[148]\tvalid_0's multi_logloss: 1.39037\n",
            "[149]\tvalid_0's multi_logloss: 1.38811\n",
            "[150]\tvalid_0's multi_logloss: 1.38585\n",
            "[151]\tvalid_0's multi_logloss: 1.38358\n",
            "[152]\tvalid_0's multi_logloss: 1.38133\n",
            "[153]\tvalid_0's multi_logloss: 1.3791\n",
            "[154]\tvalid_0's multi_logloss: 1.37687\n",
            "[155]\tvalid_0's multi_logloss: 1.37468\n",
            "[156]\tvalid_0's multi_logloss: 1.37252\n",
            "[157]\tvalid_0's multi_logloss: 1.3703\n",
            "[158]\tvalid_0's multi_logloss: 1.36816\n",
            "[159]\tvalid_0's multi_logloss: 1.36602\n",
            "[160]\tvalid_0's multi_logloss: 1.36391\n",
            "[161]\tvalid_0's multi_logloss: 1.36179\n",
            "[162]\tvalid_0's multi_logloss: 1.3597\n",
            "[163]\tvalid_0's multi_logloss: 1.35768\n",
            "[164]\tvalid_0's multi_logloss: 1.35566\n",
            "[165]\tvalid_0's multi_logloss: 1.35367\n",
            "[166]\tvalid_0's multi_logloss: 1.35164\n",
            "[167]\tvalid_0's multi_logloss: 1.34968\n",
            "[168]\tvalid_0's multi_logloss: 1.34774\n",
            "[169]\tvalid_0's multi_logloss: 1.34579\n",
            "[170]\tvalid_0's multi_logloss: 1.34382\n",
            "[171]\tvalid_0's multi_logloss: 1.34193\n",
            "[172]\tvalid_0's multi_logloss: 1.34005\n",
            "[173]\tvalid_0's multi_logloss: 1.33817\n",
            "[174]\tvalid_0's multi_logloss: 1.33632\n",
            "[175]\tvalid_0's multi_logloss: 1.33445\n",
            "[176]\tvalid_0's multi_logloss: 1.33258\n",
            "[177]\tvalid_0's multi_logloss: 1.33075\n",
            "[178]\tvalid_0's multi_logloss: 1.32892\n",
            "[179]\tvalid_0's multi_logloss: 1.32715\n",
            "[180]\tvalid_0's multi_logloss: 1.32541\n",
            "[181]\tvalid_0's multi_logloss: 1.32366\n",
            "[182]\tvalid_0's multi_logloss: 1.32193\n",
            "[183]\tvalid_0's multi_logloss: 1.32022\n",
            "[184]\tvalid_0's multi_logloss: 1.31849\n",
            "[185]\tvalid_0's multi_logloss: 1.31684\n",
            "[186]\tvalid_0's multi_logloss: 1.31516\n",
            "[187]\tvalid_0's multi_logloss: 1.31349\n",
            "[188]\tvalid_0's multi_logloss: 1.31184\n",
            "[189]\tvalid_0's multi_logloss: 1.31018\n",
            "[190]\tvalid_0's multi_logloss: 1.30859\n",
            "[191]\tvalid_0's multi_logloss: 1.30695\n",
            "[192]\tvalid_0's multi_logloss: 1.30539\n",
            "[193]\tvalid_0's multi_logloss: 1.30382\n",
            "[194]\tvalid_0's multi_logloss: 1.30226\n",
            "[195]\tvalid_0's multi_logloss: 1.30073\n",
            "[196]\tvalid_0's multi_logloss: 1.29918\n",
            "[197]\tvalid_0's multi_logloss: 1.2976\n",
            "[198]\tvalid_0's multi_logloss: 1.29606\n",
            "[199]\tvalid_0's multi_logloss: 1.29454\n",
            "[200]\tvalid_0's multi_logloss: 1.29311\n",
            "[201]\tvalid_0's multi_logloss: 1.29159\n",
            "[202]\tvalid_0's multi_logloss: 1.29007\n",
            "[203]\tvalid_0's multi_logloss: 1.28864\n",
            "[204]\tvalid_0's multi_logloss: 1.28715\n",
            "[205]\tvalid_0's multi_logloss: 1.28573\n",
            "[206]\tvalid_0's multi_logloss: 1.28429\n",
            "[207]\tvalid_0's multi_logloss: 1.28289\n",
            "[208]\tvalid_0's multi_logloss: 1.28148\n",
            "[209]\tvalid_0's multi_logloss: 1.2801\n",
            "[210]\tvalid_0's multi_logloss: 1.27871\n",
            "[211]\tvalid_0's multi_logloss: 1.27737\n",
            "[212]\tvalid_0's multi_logloss: 1.27597\n",
            "[213]\tvalid_0's multi_logloss: 1.27467\n",
            "[214]\tvalid_0's multi_logloss: 1.27334\n",
            "[215]\tvalid_0's multi_logloss: 1.27199\n",
            "[216]\tvalid_0's multi_logloss: 1.27068\n",
            "[217]\tvalid_0's multi_logloss: 1.26935\n",
            "[218]\tvalid_0's multi_logloss: 1.26805\n",
            "[219]\tvalid_0's multi_logloss: 1.26676\n",
            "[220]\tvalid_0's multi_logloss: 1.26548\n",
            "[221]\tvalid_0's multi_logloss: 1.26423\n",
            "[222]\tvalid_0's multi_logloss: 1.26296\n",
            "[223]\tvalid_0's multi_logloss: 1.26171\n",
            "[224]\tvalid_0's multi_logloss: 1.26048\n",
            "[225]\tvalid_0's multi_logloss: 1.25922\n",
            "[226]\tvalid_0's multi_logloss: 1.25799\n",
            "[227]\tvalid_0's multi_logloss: 1.2568\n",
            "[228]\tvalid_0's multi_logloss: 1.25556\n",
            "[229]\tvalid_0's multi_logloss: 1.25431\n",
            "[230]\tvalid_0's multi_logloss: 1.25314\n",
            "[231]\tvalid_0's multi_logloss: 1.25194\n",
            "[232]\tvalid_0's multi_logloss: 1.25077\n",
            "[233]\tvalid_0's multi_logloss: 1.24958\n",
            "[234]\tvalid_0's multi_logloss: 1.24847\n",
            "[235]\tvalid_0's multi_logloss: 1.24733\n",
            "[236]\tvalid_0's multi_logloss: 1.24619\n",
            "[237]\tvalid_0's multi_logloss: 1.24508\n",
            "[238]\tvalid_0's multi_logloss: 1.24396\n",
            "[239]\tvalid_0's multi_logloss: 1.24282\n",
            "[240]\tvalid_0's multi_logloss: 1.24178\n",
            "[241]\tvalid_0's multi_logloss: 1.24068\n",
            "[242]\tvalid_0's multi_logloss: 1.23959\n",
            "[243]\tvalid_0's multi_logloss: 1.23854\n",
            "[244]\tvalid_0's multi_logloss: 1.2375\n",
            "[245]\tvalid_0's multi_logloss: 1.23646\n",
            "[246]\tvalid_0's multi_logloss: 1.23545\n",
            "[247]\tvalid_0's multi_logloss: 1.23442\n",
            "[248]\tvalid_0's multi_logloss: 1.23344\n",
            "[249]\tvalid_0's multi_logloss: 1.23244\n",
            "[250]\tvalid_0's multi_logloss: 1.23143\n",
            "[251]\tvalid_0's multi_logloss: 1.23039\n",
            "[252]\tvalid_0's multi_logloss: 1.22941\n",
            "[253]\tvalid_0's multi_logloss: 1.22839\n",
            "[254]\tvalid_0's multi_logloss: 1.22734\n",
            "[255]\tvalid_0's multi_logloss: 1.22637\n",
            "[256]\tvalid_0's multi_logloss: 1.2254\n",
            "[257]\tvalid_0's multi_logloss: 1.22446\n",
            "[258]\tvalid_0's multi_logloss: 1.22354\n",
            "[259]\tvalid_0's multi_logloss: 1.22257\n",
            "[260]\tvalid_0's multi_logloss: 1.22166\n",
            "[261]\tvalid_0's multi_logloss: 1.22073\n",
            "[262]\tvalid_0's multi_logloss: 1.2198\n",
            "[263]\tvalid_0's multi_logloss: 1.21885\n",
            "[264]\tvalid_0's multi_logloss: 1.21795\n",
            "[265]\tvalid_0's multi_logloss: 1.21704\n",
            "[266]\tvalid_0's multi_logloss: 1.21616\n",
            "[267]\tvalid_0's multi_logloss: 1.21529\n",
            "[268]\tvalid_0's multi_logloss: 1.21445\n",
            "[269]\tvalid_0's multi_logloss: 1.21357\n",
            "[270]\tvalid_0's multi_logloss: 1.21268\n",
            "[271]\tvalid_0's multi_logloss: 1.21182\n",
            "[272]\tvalid_0's multi_logloss: 1.21099\n",
            "[273]\tvalid_0's multi_logloss: 1.21014\n",
            "[274]\tvalid_0's multi_logloss: 1.20933\n",
            "[275]\tvalid_0's multi_logloss: 1.20849\n",
            "[276]\tvalid_0's multi_logloss: 1.20769\n",
            "[277]\tvalid_0's multi_logloss: 1.2069\n",
            "[278]\tvalid_0's multi_logloss: 1.20606\n",
            "[279]\tvalid_0's multi_logloss: 1.20524\n",
            "[280]\tvalid_0's multi_logloss: 1.20442\n",
            "[281]\tvalid_0's multi_logloss: 1.20361\n",
            "[282]\tvalid_0's multi_logloss: 1.20281\n",
            "[283]\tvalid_0's multi_logloss: 1.20201\n",
            "[284]\tvalid_0's multi_logloss: 1.20126\n",
            "[285]\tvalid_0's multi_logloss: 1.20047\n",
            "[286]\tvalid_0's multi_logloss: 1.19969\n",
            "[287]\tvalid_0's multi_logloss: 1.19895\n",
            "[288]\tvalid_0's multi_logloss: 1.1982\n",
            "[289]\tvalid_0's multi_logloss: 1.19746\n",
            "[290]\tvalid_0's multi_logloss: 1.19674\n",
            "[291]\tvalid_0's multi_logloss: 1.19601\n",
            "[292]\tvalid_0's multi_logloss: 1.19528\n",
            "[293]\tvalid_0's multi_logloss: 1.1946\n",
            "[294]\tvalid_0's multi_logloss: 1.19387\n",
            "[295]\tvalid_0's multi_logloss: 1.19319\n",
            "[296]\tvalid_0's multi_logloss: 1.19247\n",
            "[297]\tvalid_0's multi_logloss: 1.19179\n",
            "[298]\tvalid_0's multi_logloss: 1.19111\n",
            "[299]\tvalid_0's multi_logloss: 1.19044\n",
            "[300]\tvalid_0's multi_logloss: 1.18978\n",
            "[301]\tvalid_0's multi_logloss: 1.18909\n",
            "[302]\tvalid_0's multi_logloss: 1.18843\n",
            "[303]\tvalid_0's multi_logloss: 1.18779\n",
            "[304]\tvalid_0's multi_logloss: 1.1871\n",
            "[305]\tvalid_0's multi_logloss: 1.18648\n",
            "[306]\tvalid_0's multi_logloss: 1.18585\n",
            "[307]\tvalid_0's multi_logloss: 1.18518\n",
            "[308]\tvalid_0's multi_logloss: 1.18451\n",
            "[309]\tvalid_0's multi_logloss: 1.18383\n",
            "[310]\tvalid_0's multi_logloss: 1.18317\n",
            "[311]\tvalid_0's multi_logloss: 1.1825\n",
            "[312]\tvalid_0's multi_logloss: 1.18183\n",
            "[313]\tvalid_0's multi_logloss: 1.18118\n",
            "[314]\tvalid_0's multi_logloss: 1.18053\n",
            "[315]\tvalid_0's multi_logloss: 1.17992\n",
            "[316]\tvalid_0's multi_logloss: 1.17932\n",
            "[317]\tvalid_0's multi_logloss: 1.17869\n",
            "[318]\tvalid_0's multi_logloss: 1.17804\n",
            "[319]\tvalid_0's multi_logloss: 1.1774\n",
            "[320]\tvalid_0's multi_logloss: 1.17676\n",
            "[321]\tvalid_0's multi_logloss: 1.17616\n",
            "[322]\tvalid_0's multi_logloss: 1.17557\n",
            "[323]\tvalid_0's multi_logloss: 1.17499\n",
            "[324]\tvalid_0's multi_logloss: 1.17442\n",
            "[325]\tvalid_0's multi_logloss: 1.17384\n",
            "[326]\tvalid_0's multi_logloss: 1.17324\n",
            "[327]\tvalid_0's multi_logloss: 1.17264\n",
            "[328]\tvalid_0's multi_logloss: 1.17208\n",
            "[329]\tvalid_0's multi_logloss: 1.17155\n",
            "[330]\tvalid_0's multi_logloss: 1.17094\n",
            "[331]\tvalid_0's multi_logloss: 1.17037\n",
            "[332]\tvalid_0's multi_logloss: 1.16978\n",
            "[333]\tvalid_0's multi_logloss: 1.16917\n",
            "[334]\tvalid_0's multi_logloss: 1.16863\n",
            "[335]\tvalid_0's multi_logloss: 1.16804\n",
            "[336]\tvalid_0's multi_logloss: 1.16748\n",
            "[337]\tvalid_0's multi_logloss: 1.16691\n",
            "[338]\tvalid_0's multi_logloss: 1.16634\n",
            "[339]\tvalid_0's multi_logloss: 1.16581\n",
            "[340]\tvalid_0's multi_logloss: 1.16528\n",
            "[341]\tvalid_0's multi_logloss: 1.16477\n",
            "[342]\tvalid_0's multi_logloss: 1.16427\n",
            "[343]\tvalid_0's multi_logloss: 1.16375\n",
            "[344]\tvalid_0's multi_logloss: 1.16325\n",
            "[345]\tvalid_0's multi_logloss: 1.16274\n",
            "[346]\tvalid_0's multi_logloss: 1.16221\n",
            "[347]\tvalid_0's multi_logloss: 1.16171\n",
            "[348]\tvalid_0's multi_logloss: 1.16123\n",
            "[349]\tvalid_0's multi_logloss: 1.16074\n",
            "[350]\tvalid_0's multi_logloss: 1.1602\n",
            "[351]\tvalid_0's multi_logloss: 1.15972\n",
            "[352]\tvalid_0's multi_logloss: 1.15919\n",
            "[353]\tvalid_0's multi_logloss: 1.15872\n",
            "[354]\tvalid_0's multi_logloss: 1.15823\n",
            "[355]\tvalid_0's multi_logloss: 1.15775\n",
            "[356]\tvalid_0's multi_logloss: 1.15728\n",
            "[357]\tvalid_0's multi_logloss: 1.15681\n",
            "[358]\tvalid_0's multi_logloss: 1.15632\n",
            "[359]\tvalid_0's multi_logloss: 1.15581\n",
            "[360]\tvalid_0's multi_logloss: 1.15538\n",
            "[361]\tvalid_0's multi_logloss: 1.15492\n",
            "[362]\tvalid_0's multi_logloss: 1.15447\n",
            "[363]\tvalid_0's multi_logloss: 1.15405\n",
            "[364]\tvalid_0's multi_logloss: 1.15359\n",
            "[365]\tvalid_0's multi_logloss: 1.15317\n",
            "[366]\tvalid_0's multi_logloss: 1.15272\n",
            "[367]\tvalid_0's multi_logloss: 1.15227\n",
            "[368]\tvalid_0's multi_logloss: 1.15182\n",
            "[369]\tvalid_0's multi_logloss: 1.15137\n",
            "[370]\tvalid_0's multi_logloss: 1.15094\n",
            "[371]\tvalid_0's multi_logloss: 1.15049\n",
            "[372]\tvalid_0's multi_logloss: 1.15008\n",
            "[373]\tvalid_0's multi_logloss: 1.14961\n",
            "[374]\tvalid_0's multi_logloss: 1.14921\n",
            "[375]\tvalid_0's multi_logloss: 1.14878\n",
            "[376]\tvalid_0's multi_logloss: 1.1484\n",
            "[377]\tvalid_0's multi_logloss: 1.14801\n",
            "[378]\tvalid_0's multi_logloss: 1.1476\n",
            "[379]\tvalid_0's multi_logloss: 1.14721\n",
            "[380]\tvalid_0's multi_logloss: 1.14679\n",
            "[381]\tvalid_0's multi_logloss: 1.1464\n",
            "[382]\tvalid_0's multi_logloss: 1.14601\n",
            "[383]\tvalid_0's multi_logloss: 1.14559\n",
            "[384]\tvalid_0's multi_logloss: 1.14523\n",
            "[385]\tvalid_0's multi_logloss: 1.14486\n",
            "[386]\tvalid_0's multi_logloss: 1.1445\n",
            "[387]\tvalid_0's multi_logloss: 1.14414\n",
            "[388]\tvalid_0's multi_logloss: 1.14377\n",
            "[389]\tvalid_0's multi_logloss: 1.14343\n",
            "[390]\tvalid_0's multi_logloss: 1.14307\n",
            "[391]\tvalid_0's multi_logloss: 1.14271\n",
            "[392]\tvalid_0's multi_logloss: 1.14235\n",
            "[393]\tvalid_0's multi_logloss: 1.14198\n",
            "[394]\tvalid_0's multi_logloss: 1.14161\n",
            "[395]\tvalid_0's multi_logloss: 1.14126\n",
            "[396]\tvalid_0's multi_logloss: 1.14088\n",
            "[397]\tvalid_0's multi_logloss: 1.1405\n",
            "[398]\tvalid_0's multi_logloss: 1.14014\n",
            "[399]\tvalid_0's multi_logloss: 1.13979\n",
            "[400]\tvalid_0's multi_logloss: 1.13944\n",
            "[401]\tvalid_0's multi_logloss: 1.13909\n",
            "[402]\tvalid_0's multi_logloss: 1.13871\n",
            "[403]\tvalid_0's multi_logloss: 1.13838\n",
            "[404]\tvalid_0's multi_logloss: 1.13804\n",
            "[405]\tvalid_0's multi_logloss: 1.13769\n",
            "[406]\tvalid_0's multi_logloss: 1.13738\n",
            "[407]\tvalid_0's multi_logloss: 1.13702\n",
            "[408]\tvalid_0's multi_logloss: 1.13667\n",
            "[409]\tvalid_0's multi_logloss: 1.13637\n",
            "[410]\tvalid_0's multi_logloss: 1.13604\n",
            "[411]\tvalid_0's multi_logloss: 1.1357\n",
            "[412]\tvalid_0's multi_logloss: 1.13534\n",
            "[413]\tvalid_0's multi_logloss: 1.13502\n",
            "[414]\tvalid_0's multi_logloss: 1.13469\n",
            "[415]\tvalid_0's multi_logloss: 1.13439\n",
            "[416]\tvalid_0's multi_logloss: 1.13407\n",
            "[417]\tvalid_0's multi_logloss: 1.13373\n",
            "[418]\tvalid_0's multi_logloss: 1.13339\n",
            "[419]\tvalid_0's multi_logloss: 1.1331\n",
            "[420]\tvalid_0's multi_logloss: 1.13277\n",
            "[421]\tvalid_0's multi_logloss: 1.13246\n",
            "[422]\tvalid_0's multi_logloss: 1.13213\n",
            "[423]\tvalid_0's multi_logloss: 1.13184\n",
            "[424]\tvalid_0's multi_logloss: 1.13155\n",
            "[425]\tvalid_0's multi_logloss: 1.13125\n",
            "[426]\tvalid_0's multi_logloss: 1.13096\n",
            "[427]\tvalid_0's multi_logloss: 1.13067\n",
            "[428]\tvalid_0's multi_logloss: 1.13038\n",
            "[429]\tvalid_0's multi_logloss: 1.13009\n",
            "[430]\tvalid_0's multi_logloss: 1.12983\n",
            "[431]\tvalid_0's multi_logloss: 1.12951\n",
            "[432]\tvalid_0's multi_logloss: 1.12926\n",
            "[433]\tvalid_0's multi_logloss: 1.12896\n",
            "[434]\tvalid_0's multi_logloss: 1.1287\n",
            "[435]\tvalid_0's multi_logloss: 1.12846\n",
            "[436]\tvalid_0's multi_logloss: 1.12813\n",
            "[437]\tvalid_0's multi_logloss: 1.12787\n",
            "[438]\tvalid_0's multi_logloss: 1.12757\n",
            "[439]\tvalid_0's multi_logloss: 1.12728\n",
            "[440]\tvalid_0's multi_logloss: 1.127\n",
            "[441]\tvalid_0's multi_logloss: 1.12673\n",
            "[442]\tvalid_0's multi_logloss: 1.12645\n",
            "[443]\tvalid_0's multi_logloss: 1.12616\n",
            "[444]\tvalid_0's multi_logloss: 1.12585\n",
            "[445]\tvalid_0's multi_logloss: 1.12556\n",
            "[446]\tvalid_0's multi_logloss: 1.12528\n",
            "[447]\tvalid_0's multi_logloss: 1.12496\n",
            "[448]\tvalid_0's multi_logloss: 1.12469\n",
            "[449]\tvalid_0's multi_logloss: 1.12442\n",
            "[450]\tvalid_0's multi_logloss: 1.1241\n",
            "[451]\tvalid_0's multi_logloss: 1.12384\n",
            "[452]\tvalid_0's multi_logloss: 1.12355\n",
            "[453]\tvalid_0's multi_logloss: 1.12329\n",
            "[454]\tvalid_0's multi_logloss: 1.12302\n",
            "[455]\tvalid_0's multi_logloss: 1.12277\n",
            "[456]\tvalid_0's multi_logloss: 1.12246\n",
            "[457]\tvalid_0's multi_logloss: 1.1222\n",
            "[458]\tvalid_0's multi_logloss: 1.12194\n",
            "[459]\tvalid_0's multi_logloss: 1.12165\n",
            "[460]\tvalid_0's multi_logloss: 1.12139\n",
            "[461]\tvalid_0's multi_logloss: 1.12111\n",
            "[462]\tvalid_0's multi_logloss: 1.12084\n",
            "[463]\tvalid_0's multi_logloss: 1.12057\n",
            "[464]\tvalid_0's multi_logloss: 1.12033\n",
            "[465]\tvalid_0's multi_logloss: 1.12005\n",
            "[466]\tvalid_0's multi_logloss: 1.11982\n",
            "[467]\tvalid_0's multi_logloss: 1.11954\n",
            "[468]\tvalid_0's multi_logloss: 1.11925\n",
            "[469]\tvalid_0's multi_logloss: 1.11902\n",
            "[470]\tvalid_0's multi_logloss: 1.11878\n",
            "[471]\tvalid_0's multi_logloss: 1.11855\n",
            "[472]\tvalid_0's multi_logloss: 1.11828\n",
            "[473]\tvalid_0's multi_logloss: 1.11805\n",
            "[474]\tvalid_0's multi_logloss: 1.11775\n",
            "[475]\tvalid_0's multi_logloss: 1.11751\n",
            "[476]\tvalid_0's multi_logloss: 1.1173\n",
            "[477]\tvalid_0's multi_logloss: 1.11707\n",
            "[478]\tvalid_0's multi_logloss: 1.11684\n",
            "[479]\tvalid_0's multi_logloss: 1.11666\n",
            "[480]\tvalid_0's multi_logloss: 1.11643\n",
            "[481]\tvalid_0's multi_logloss: 1.11625\n",
            "[482]\tvalid_0's multi_logloss: 1.11602\n",
            "[483]\tvalid_0's multi_logloss: 1.11583\n",
            "[484]\tvalid_0's multi_logloss: 1.11565\n",
            "[485]\tvalid_0's multi_logloss: 1.11546\n",
            "[486]\tvalid_0's multi_logloss: 1.11527\n",
            "[487]\tvalid_0's multi_logloss: 1.11505\n",
            "[488]\tvalid_0's multi_logloss: 1.11484\n",
            "[489]\tvalid_0's multi_logloss: 1.11465\n",
            "[490]\tvalid_0's multi_logloss: 1.11446\n",
            "[491]\tvalid_0's multi_logloss: 1.11427\n",
            "[492]\tvalid_0's multi_logloss: 1.11406\n",
            "[493]\tvalid_0's multi_logloss: 1.11388\n",
            "[494]\tvalid_0's multi_logloss: 1.11368\n",
            "[495]\tvalid_0's multi_logloss: 1.11351\n",
            "[496]\tvalid_0's multi_logloss: 1.11333\n",
            "[497]\tvalid_0's multi_logloss: 1.11316\n",
            "[498]\tvalid_0's multi_logloss: 1.11294\n",
            "[499]\tvalid_0's multi_logloss: 1.11274\n",
            "[500]\tvalid_0's multi_logloss: 1.11253\n",
            "[501]\tvalid_0's multi_logloss: 1.11234\n",
            "[502]\tvalid_0's multi_logloss: 1.11213\n",
            "[503]\tvalid_0's multi_logloss: 1.11196\n",
            "[504]\tvalid_0's multi_logloss: 1.11176\n",
            "[505]\tvalid_0's multi_logloss: 1.11158\n",
            "[506]\tvalid_0's multi_logloss: 1.11138\n",
            "[507]\tvalid_0's multi_logloss: 1.11119\n",
            "[508]\tvalid_0's multi_logloss: 1.11098\n",
            "[509]\tvalid_0's multi_logloss: 1.1108\n",
            "[510]\tvalid_0's multi_logloss: 1.11064\n",
            "[511]\tvalid_0's multi_logloss: 1.11046\n",
            "[512]\tvalid_0's multi_logloss: 1.1103\n",
            "[513]\tvalid_0's multi_logloss: 1.11014\n",
            "[514]\tvalid_0's multi_logloss: 1.10995\n",
            "[515]\tvalid_0's multi_logloss: 1.10977\n",
            "[516]\tvalid_0's multi_logloss: 1.10963\n",
            "[517]\tvalid_0's multi_logloss: 1.10946\n",
            "[518]\tvalid_0's multi_logloss: 1.10935\n",
            "[519]\tvalid_0's multi_logloss: 1.10916\n",
            "[520]\tvalid_0's multi_logloss: 1.10898\n",
            "[521]\tvalid_0's multi_logloss: 1.10877\n",
            "[522]\tvalid_0's multi_logloss: 1.10861\n",
            "[523]\tvalid_0's multi_logloss: 1.10841\n",
            "[524]\tvalid_0's multi_logloss: 1.10822\n",
            "[525]\tvalid_0's multi_logloss: 1.10805\n",
            "[526]\tvalid_0's multi_logloss: 1.10787\n",
            "[527]\tvalid_0's multi_logloss: 1.10772\n",
            "[528]\tvalid_0's multi_logloss: 1.10755\n",
            "[529]\tvalid_0's multi_logloss: 1.10737\n",
            "[530]\tvalid_0's multi_logloss: 1.10721\n",
            "[531]\tvalid_0's multi_logloss: 1.10699\n",
            "[532]\tvalid_0's multi_logloss: 1.10684\n",
            "[533]\tvalid_0's multi_logloss: 1.10668\n",
            "[534]\tvalid_0's multi_logloss: 1.10651\n",
            "[535]\tvalid_0's multi_logloss: 1.10635\n",
            "[536]\tvalid_0's multi_logloss: 1.10618\n",
            "[537]\tvalid_0's multi_logloss: 1.10603\n",
            "[538]\tvalid_0's multi_logloss: 1.10586\n",
            "[539]\tvalid_0's multi_logloss: 1.10571\n",
            "[540]\tvalid_0's multi_logloss: 1.10558\n",
            "[541]\tvalid_0's multi_logloss: 1.10538\n",
            "[542]\tvalid_0's multi_logloss: 1.10526\n",
            "[543]\tvalid_0's multi_logloss: 1.10511\n",
            "[544]\tvalid_0's multi_logloss: 1.10496\n",
            "[545]\tvalid_0's multi_logloss: 1.10477\n",
            "[546]\tvalid_0's multi_logloss: 1.10464\n",
            "[547]\tvalid_0's multi_logloss: 1.10448\n",
            "[548]\tvalid_0's multi_logloss: 1.10437\n",
            "[549]\tvalid_0's multi_logloss: 1.10423\n",
            "[550]\tvalid_0's multi_logloss: 1.10408\n",
            "[551]\tvalid_0's multi_logloss: 1.10395\n",
            "[552]\tvalid_0's multi_logloss: 1.10379\n",
            "[553]\tvalid_0's multi_logloss: 1.10364\n",
            "[554]\tvalid_0's multi_logloss: 1.10351\n",
            "[555]\tvalid_0's multi_logloss: 1.10337\n",
            "[556]\tvalid_0's multi_logloss: 1.10321\n",
            "[557]\tvalid_0's multi_logloss: 1.10309\n",
            "[558]\tvalid_0's multi_logloss: 1.10295\n",
            "[559]\tvalid_0's multi_logloss: 1.10281\n",
            "[560]\tvalid_0's multi_logloss: 1.10269\n",
            "[561]\tvalid_0's multi_logloss: 1.10255\n",
            "[562]\tvalid_0's multi_logloss: 1.10244\n",
            "[563]\tvalid_0's multi_logloss: 1.10229\n",
            "[564]\tvalid_0's multi_logloss: 1.10218\n",
            "[565]\tvalid_0's multi_logloss: 1.10206\n",
            "[566]\tvalid_0's multi_logloss: 1.10196\n",
            "[567]\tvalid_0's multi_logloss: 1.10184\n",
            "[568]\tvalid_0's multi_logloss: 1.10172\n",
            "[569]\tvalid_0's multi_logloss: 1.10157\n",
            "[570]\tvalid_0's multi_logloss: 1.10144\n",
            "[571]\tvalid_0's multi_logloss: 1.10132\n",
            "[572]\tvalid_0's multi_logloss: 1.10119\n",
            "[573]\tvalid_0's multi_logloss: 1.10106\n",
            "[574]\tvalid_0's multi_logloss: 1.10098\n",
            "[575]\tvalid_0's multi_logloss: 1.10084\n",
            "[576]\tvalid_0's multi_logloss: 1.10075\n",
            "[577]\tvalid_0's multi_logloss: 1.10066\n",
            "[578]\tvalid_0's multi_logloss: 1.10055\n",
            "[579]\tvalid_0's multi_logloss: 1.10046\n",
            "[580]\tvalid_0's multi_logloss: 1.10033\n",
            "[581]\tvalid_0's multi_logloss: 1.10022\n",
            "[582]\tvalid_0's multi_logloss: 1.10013\n",
            "[583]\tvalid_0's multi_logloss: 1.10001\n",
            "[584]\tvalid_0's multi_logloss: 1.09993\n",
            "[585]\tvalid_0's multi_logloss: 1.09983\n",
            "[586]\tvalid_0's multi_logloss: 1.0997\n",
            "[587]\tvalid_0's multi_logloss: 1.0996\n",
            "[588]\tvalid_0's multi_logloss: 1.09947\n",
            "[589]\tvalid_0's multi_logloss: 1.09938\n",
            "[590]\tvalid_0's multi_logloss: 1.09928\n",
            "[591]\tvalid_0's multi_logloss: 1.09921\n",
            "[592]\tvalid_0's multi_logloss: 1.0991\n",
            "[593]\tvalid_0's multi_logloss: 1.09899\n",
            "[594]\tvalid_0's multi_logloss: 1.09887\n",
            "[595]\tvalid_0's multi_logloss: 1.09877\n",
            "[596]\tvalid_0's multi_logloss: 1.09869\n",
            "[597]\tvalid_0's multi_logloss: 1.09855\n",
            "[598]\tvalid_0's multi_logloss: 1.09847\n",
            "[599]\tvalid_0's multi_logloss: 1.09836\n",
            "[600]\tvalid_0's multi_logloss: 1.09825\n",
            "[601]\tvalid_0's multi_logloss: 1.09819\n",
            "[602]\tvalid_0's multi_logloss: 1.09809\n",
            "[603]\tvalid_0's multi_logloss: 1.09803\n",
            "[604]\tvalid_0's multi_logloss: 1.09794\n",
            "[605]\tvalid_0's multi_logloss: 1.09783\n",
            "[606]\tvalid_0's multi_logloss: 1.09774\n",
            "[607]\tvalid_0's multi_logloss: 1.09767\n",
            "[608]\tvalid_0's multi_logloss: 1.09755\n",
            "[609]\tvalid_0's multi_logloss: 1.09748\n",
            "[610]\tvalid_0's multi_logloss: 1.09739\n",
            "[611]\tvalid_0's multi_logloss: 1.09736\n",
            "[612]\tvalid_0's multi_logloss: 1.09727\n",
            "[613]\tvalid_0's multi_logloss: 1.09717\n",
            "[614]\tvalid_0's multi_logloss: 1.09707\n",
            "[615]\tvalid_0's multi_logloss: 1.09703\n",
            "[616]\tvalid_0's multi_logloss: 1.09693\n",
            "[617]\tvalid_0's multi_logloss: 1.09682\n",
            "[618]\tvalid_0's multi_logloss: 1.09672\n",
            "[619]\tvalid_0's multi_logloss: 1.09666\n",
            "[620]\tvalid_0's multi_logloss: 1.09658\n",
            "[621]\tvalid_0's multi_logloss: 1.09648\n",
            "[622]\tvalid_0's multi_logloss: 1.09642\n",
            "[623]\tvalid_0's multi_logloss: 1.09634\n",
            "[624]\tvalid_0's multi_logloss: 1.09626\n",
            "[625]\tvalid_0's multi_logloss: 1.09617\n",
            "[626]\tvalid_0's multi_logloss: 1.09609\n",
            "[627]\tvalid_0's multi_logloss: 1.09602\n",
            "[628]\tvalid_0's multi_logloss: 1.09595\n",
            "[629]\tvalid_0's multi_logloss: 1.09588\n",
            "[630]\tvalid_0's multi_logloss: 1.09584\n",
            "[631]\tvalid_0's multi_logloss: 1.09578\n",
            "[632]\tvalid_0's multi_logloss: 1.09573\n",
            "[633]\tvalid_0's multi_logloss: 1.09567\n",
            "[634]\tvalid_0's multi_logloss: 1.09565\n",
            "[635]\tvalid_0's multi_logloss: 1.09559\n",
            "[636]\tvalid_0's multi_logloss: 1.09552\n",
            "[637]\tvalid_0's multi_logloss: 1.09546\n",
            "[638]\tvalid_0's multi_logloss: 1.09539\n",
            "[639]\tvalid_0's multi_logloss: 1.09533\n",
            "[640]\tvalid_0's multi_logloss: 1.09526\n",
            "[641]\tvalid_0's multi_logloss: 1.09518\n",
            "[642]\tvalid_0's multi_logloss: 1.09515\n",
            "[643]\tvalid_0's multi_logloss: 1.09508\n",
            "[644]\tvalid_0's multi_logloss: 1.09502\n",
            "[645]\tvalid_0's multi_logloss: 1.09497\n",
            "[646]\tvalid_0's multi_logloss: 1.09489\n",
            "[647]\tvalid_0's multi_logloss: 1.09485\n",
            "[648]\tvalid_0's multi_logloss: 1.0948\n",
            "[649]\tvalid_0's multi_logloss: 1.09475\n",
            "[650]\tvalid_0's multi_logloss: 1.09469\n",
            "[651]\tvalid_0's multi_logloss: 1.09461\n",
            "[652]\tvalid_0's multi_logloss: 1.09454\n",
            "[653]\tvalid_0's multi_logloss: 1.09451\n",
            "[654]\tvalid_0's multi_logloss: 1.09446\n",
            "[655]\tvalid_0's multi_logloss: 1.09439\n",
            "[656]\tvalid_0's multi_logloss: 1.09434\n",
            "[657]\tvalid_0's multi_logloss: 1.09428\n",
            "[658]\tvalid_0's multi_logloss: 1.09423\n",
            "[659]\tvalid_0's multi_logloss: 1.09418\n",
            "[660]\tvalid_0's multi_logloss: 1.09413\n",
            "[661]\tvalid_0's multi_logloss: 1.09406\n",
            "[662]\tvalid_0's multi_logloss: 1.094\n",
            "[663]\tvalid_0's multi_logloss: 1.09393\n",
            "[664]\tvalid_0's multi_logloss: 1.09385\n",
            "[665]\tvalid_0's multi_logloss: 1.09381\n",
            "[666]\tvalid_0's multi_logloss: 1.09374\n",
            "[667]\tvalid_0's multi_logloss: 1.09366\n",
            "[668]\tvalid_0's multi_logloss: 1.09358\n",
            "[669]\tvalid_0's multi_logloss: 1.09352\n",
            "[670]\tvalid_0's multi_logloss: 1.09345\n",
            "[671]\tvalid_0's multi_logloss: 1.09341\n",
            "[672]\tvalid_0's multi_logloss: 1.09335\n",
            "[673]\tvalid_0's multi_logloss: 1.0933\n",
            "[674]\tvalid_0's multi_logloss: 1.09323\n",
            "[675]\tvalid_0's multi_logloss: 1.09317\n",
            "[676]\tvalid_0's multi_logloss: 1.09312\n",
            "[677]\tvalid_0's multi_logloss: 1.09307\n",
            "[678]\tvalid_0's multi_logloss: 1.09301\n",
            "[679]\tvalid_0's multi_logloss: 1.09294\n",
            "[680]\tvalid_0's multi_logloss: 1.09291\n",
            "[681]\tvalid_0's multi_logloss: 1.09283\n",
            "[682]\tvalid_0's multi_logloss: 1.09279\n",
            "[683]\tvalid_0's multi_logloss: 1.09272\n",
            "[684]\tvalid_0's multi_logloss: 1.09267\n",
            "[685]\tvalid_0's multi_logloss: 1.09262\n",
            "[686]\tvalid_0's multi_logloss: 1.09257\n",
            "[687]\tvalid_0's multi_logloss: 1.09253\n",
            "[688]\tvalid_0's multi_logloss: 1.0925\n",
            "[689]\tvalid_0's multi_logloss: 1.09243\n",
            "[690]\tvalid_0's multi_logloss: 1.09236\n",
            "[691]\tvalid_0's multi_logloss: 1.09234\n",
            "[692]\tvalid_0's multi_logloss: 1.0923\n",
            "[693]\tvalid_0's multi_logloss: 1.09228\n",
            "[694]\tvalid_0's multi_logloss: 1.09221\n",
            "[695]\tvalid_0's multi_logloss: 1.09214\n",
            "[696]\tvalid_0's multi_logloss: 1.09211\n",
            "[697]\tvalid_0's multi_logloss: 1.09207\n",
            "[698]\tvalid_0's multi_logloss: 1.09204\n",
            "[699]\tvalid_0's multi_logloss: 1.092\n",
            "[700]\tvalid_0's multi_logloss: 1.09197\n",
            "[701]\tvalid_0's multi_logloss: 1.09192\n",
            "[702]\tvalid_0's multi_logloss: 1.09187\n",
            "[703]\tvalid_0's multi_logloss: 1.09185\n",
            "[704]\tvalid_0's multi_logloss: 1.09179\n",
            "[705]\tvalid_0's multi_logloss: 1.09172\n",
            "[706]\tvalid_0's multi_logloss: 1.09169\n",
            "[707]\tvalid_0's multi_logloss: 1.09162\n",
            "[708]\tvalid_0's multi_logloss: 1.09158\n",
            "[709]\tvalid_0's multi_logloss: 1.09152\n",
            "[710]\tvalid_0's multi_logloss: 1.09146\n",
            "[711]\tvalid_0's multi_logloss: 1.09145\n",
            "[712]\tvalid_0's multi_logloss: 1.09138\n",
            "[713]\tvalid_0's multi_logloss: 1.09137\n",
            "[714]\tvalid_0's multi_logloss: 1.09133\n",
            "[715]\tvalid_0's multi_logloss: 1.09133\n",
            "[716]\tvalid_0's multi_logloss: 1.09128\n",
            "[717]\tvalid_0's multi_logloss: 1.09125\n",
            "[718]\tvalid_0's multi_logloss: 1.09121\n",
            "[719]\tvalid_0's multi_logloss: 1.09116\n",
            "[720]\tvalid_0's multi_logloss: 1.09113\n",
            "[721]\tvalid_0's multi_logloss: 1.09107\n",
            "[722]\tvalid_0's multi_logloss: 1.09104\n",
            "[723]\tvalid_0's multi_logloss: 1.09101\n",
            "[724]\tvalid_0's multi_logloss: 1.09099\n",
            "[725]\tvalid_0's multi_logloss: 1.09096\n",
            "[726]\tvalid_0's multi_logloss: 1.09098\n",
            "[727]\tvalid_0's multi_logloss: 1.09093\n",
            "[728]\tvalid_0's multi_logloss: 1.0909\n",
            "[729]\tvalid_0's multi_logloss: 1.09089\n",
            "[730]\tvalid_0's multi_logloss: 1.09085\n",
            "[731]\tvalid_0's multi_logloss: 1.09081\n",
            "[732]\tvalid_0's multi_logloss: 1.0908\n",
            "[733]\tvalid_0's multi_logloss: 1.0908\n",
            "[734]\tvalid_0's multi_logloss: 1.09076\n",
            "[735]\tvalid_0's multi_logloss: 1.09069\n",
            "[736]\tvalid_0's multi_logloss: 1.09066\n",
            "[737]\tvalid_0's multi_logloss: 1.09066\n",
            "[738]\tvalid_0's multi_logloss: 1.09065\n",
            "[739]\tvalid_0's multi_logloss: 1.09063\n",
            "[740]\tvalid_0's multi_logloss: 1.09062\n",
            "[741]\tvalid_0's multi_logloss: 1.09061\n",
            "[742]\tvalid_0's multi_logloss: 1.09059\n",
            "[743]\tvalid_0's multi_logloss: 1.09055\n",
            "[744]\tvalid_0's multi_logloss: 1.0905\n",
            "[745]\tvalid_0's multi_logloss: 1.09052\n",
            "[746]\tvalid_0's multi_logloss: 1.09052\n",
            "[747]\tvalid_0's multi_logloss: 1.09051\n",
            "[748]\tvalid_0's multi_logloss: 1.09051\n",
            "[749]\tvalid_0's multi_logloss: 1.09045\n",
            "[750]\tvalid_0's multi_logloss: 1.09043\n",
            "[751]\tvalid_0's multi_logloss: 1.09039\n",
            "[752]\tvalid_0's multi_logloss: 1.0904\n",
            "[753]\tvalid_0's multi_logloss: 1.09037\n",
            "[754]\tvalid_0's multi_logloss: 1.09035\n",
            "[755]\tvalid_0's multi_logloss: 1.09034\n",
            "[756]\tvalid_0's multi_logloss: 1.09035\n",
            "[757]\tvalid_0's multi_logloss: 1.09035\n",
            "[758]\tvalid_0's multi_logloss: 1.09031\n",
            "[759]\tvalid_0's multi_logloss: 1.09027\n",
            "[760]\tvalid_0's multi_logloss: 1.09027\n",
            "[761]\tvalid_0's multi_logloss: 1.09025\n",
            "[762]\tvalid_0's multi_logloss: 1.09021\n",
            "[763]\tvalid_0's multi_logloss: 1.09019\n",
            "[764]\tvalid_0's multi_logloss: 1.09015\n",
            "[765]\tvalid_0's multi_logloss: 1.09012\n",
            "[766]\tvalid_0's multi_logloss: 1.09008\n",
            "[767]\tvalid_0's multi_logloss: 1.09008\n",
            "[768]\tvalid_0's multi_logloss: 1.09006\n",
            "[769]\tvalid_0's multi_logloss: 1.09004\n",
            "[770]\tvalid_0's multi_logloss: 1.09003\n",
            "[771]\tvalid_0's multi_logloss: 1.08998\n",
            "[772]\tvalid_0's multi_logloss: 1.08996\n",
            "[773]\tvalid_0's multi_logloss: 1.08995\n",
            "[774]\tvalid_0's multi_logloss: 1.08994\n",
            "[775]\tvalid_0's multi_logloss: 1.08993\n",
            "[776]\tvalid_0's multi_logloss: 1.08994\n",
            "[777]\tvalid_0's multi_logloss: 1.08989\n",
            "[778]\tvalid_0's multi_logloss: 1.08985\n",
            "[779]\tvalid_0's multi_logloss: 1.08985\n",
            "[780]\tvalid_0's multi_logloss: 1.08982\n",
            "[781]\tvalid_0's multi_logloss: 1.08979\n",
            "[782]\tvalid_0's multi_logloss: 1.08977\n",
            "[783]\tvalid_0's multi_logloss: 1.08972\n",
            "[784]\tvalid_0's multi_logloss: 1.08968\n",
            "[785]\tvalid_0's multi_logloss: 1.08965\n",
            "[786]\tvalid_0's multi_logloss: 1.0896\n",
            "[787]\tvalid_0's multi_logloss: 1.08955\n",
            "[788]\tvalid_0's multi_logloss: 1.08953\n",
            "[789]\tvalid_0's multi_logloss: 1.0895\n",
            "[790]\tvalid_0's multi_logloss: 1.08947\n",
            "[791]\tvalid_0's multi_logloss: 1.08942\n",
            "[792]\tvalid_0's multi_logloss: 1.08941\n",
            "[793]\tvalid_0's multi_logloss: 1.08934\n",
            "[794]\tvalid_0's multi_logloss: 1.0893\n",
            "[795]\tvalid_0's multi_logloss: 1.08926\n",
            "[796]\tvalid_0's multi_logloss: 1.08919\n",
            "[797]\tvalid_0's multi_logloss: 1.08918\n",
            "[798]\tvalid_0's multi_logloss: 1.08911\n",
            "[799]\tvalid_0's multi_logloss: 1.08911\n",
            "[800]\tvalid_0's multi_logloss: 1.08908\n",
            "[801]\tvalid_0's multi_logloss: 1.08903\n",
            "[802]\tvalid_0's multi_logloss: 1.08901\n",
            "[803]\tvalid_0's multi_logloss: 1.08898\n",
            "[804]\tvalid_0's multi_logloss: 1.08891\n",
            "[805]\tvalid_0's multi_logloss: 1.08887\n",
            "[806]\tvalid_0's multi_logloss: 1.08882\n",
            "[807]\tvalid_0's multi_logloss: 1.08878\n",
            "[808]\tvalid_0's multi_logloss: 1.08874\n",
            "[809]\tvalid_0's multi_logloss: 1.08871\n",
            "[810]\tvalid_0's multi_logloss: 1.08864\n",
            "[811]\tvalid_0's multi_logloss: 1.08864\n",
            "[812]\tvalid_0's multi_logloss: 1.08862\n",
            "[813]\tvalid_0's multi_logloss: 1.0886\n",
            "[814]\tvalid_0's multi_logloss: 1.08858\n",
            "[815]\tvalid_0's multi_logloss: 1.08858\n",
            "[816]\tvalid_0's multi_logloss: 1.08853\n",
            "[817]\tvalid_0's multi_logloss: 1.0885\n",
            "[818]\tvalid_0's multi_logloss: 1.08849\n",
            "[819]\tvalid_0's multi_logloss: 1.08846\n",
            "[820]\tvalid_0's multi_logloss: 1.08842\n",
            "[821]\tvalid_0's multi_logloss: 1.08839\n",
            "[822]\tvalid_0's multi_logloss: 1.08834\n",
            "[823]\tvalid_0's multi_logloss: 1.08831\n",
            "[824]\tvalid_0's multi_logloss: 1.08827\n",
            "[825]\tvalid_0's multi_logloss: 1.08824\n",
            "[826]\tvalid_0's multi_logloss: 1.08823\n",
            "[827]\tvalid_0's multi_logloss: 1.08819\n",
            "[828]\tvalid_0's multi_logloss: 1.0882\n",
            "[829]\tvalid_0's multi_logloss: 1.0882\n",
            "[830]\tvalid_0's multi_logloss: 1.08818\n",
            "[831]\tvalid_0's multi_logloss: 1.08814\n",
            "[832]\tvalid_0's multi_logloss: 1.08811\n",
            "[833]\tvalid_0's multi_logloss: 1.08809\n",
            "[834]\tvalid_0's multi_logloss: 1.08807\n",
            "[835]\tvalid_0's multi_logloss: 1.0881\n",
            "[836]\tvalid_0's multi_logloss: 1.08808\n",
            "[837]\tvalid_0's multi_logloss: 1.08804\n",
            "[838]\tvalid_0's multi_logloss: 1.08802\n",
            "[839]\tvalid_0's multi_logloss: 1.08802\n",
            "[840]\tvalid_0's multi_logloss: 1.088\n",
            "[841]\tvalid_0's multi_logloss: 1.08801\n",
            "[842]\tvalid_0's multi_logloss: 1.08799\n",
            "[843]\tvalid_0's multi_logloss: 1.088\n",
            "[844]\tvalid_0's multi_logloss: 1.08799\n",
            "[845]\tvalid_0's multi_logloss: 1.08797\n",
            "[846]\tvalid_0's multi_logloss: 1.08796\n",
            "[847]\tvalid_0's multi_logloss: 1.08796\n",
            "[848]\tvalid_0's multi_logloss: 1.08792\n",
            "[849]\tvalid_0's multi_logloss: 1.08789\n",
            "[850]\tvalid_0's multi_logloss: 1.08786\n",
            "[851]\tvalid_0's multi_logloss: 1.08784\n",
            "[852]\tvalid_0's multi_logloss: 1.08782\n",
            "[853]\tvalid_0's multi_logloss: 1.0878\n",
            "[854]\tvalid_0's multi_logloss: 1.08775\n",
            "[855]\tvalid_0's multi_logloss: 1.08775\n",
            "[856]\tvalid_0's multi_logloss: 1.08774\n",
            "[857]\tvalid_0's multi_logloss: 1.0877\n",
            "[858]\tvalid_0's multi_logloss: 1.0877\n",
            "[859]\tvalid_0's multi_logloss: 1.08768\n",
            "[860]\tvalid_0's multi_logloss: 1.08765\n",
            "[861]\tvalid_0's multi_logloss: 1.08766\n",
            "[862]\tvalid_0's multi_logloss: 1.08765\n",
            "[863]\tvalid_0's multi_logloss: 1.08767\n",
            "[864]\tvalid_0's multi_logloss: 1.08763\n",
            "[865]\tvalid_0's multi_logloss: 1.08758\n",
            "[866]\tvalid_0's multi_logloss: 1.08758\n",
            "[867]\tvalid_0's multi_logloss: 1.08754\n",
            "[868]\tvalid_0's multi_logloss: 1.08756\n",
            "[869]\tvalid_0's multi_logloss: 1.08757\n",
            "[870]\tvalid_0's multi_logloss: 1.08753\n",
            "[871]\tvalid_0's multi_logloss: 1.08753\n",
            "[872]\tvalid_0's multi_logloss: 1.08751\n",
            "[873]\tvalid_0's multi_logloss: 1.08753\n",
            "[874]\tvalid_0's multi_logloss: 1.08752\n",
            "[875]\tvalid_0's multi_logloss: 1.08754\n",
            "[876]\tvalid_0's multi_logloss: 1.08754\n",
            "[877]\tvalid_0's multi_logloss: 1.08754\n",
            "[878]\tvalid_0's multi_logloss: 1.08756\n",
            "[879]\tvalid_0's multi_logloss: 1.08755\n",
            "[880]\tvalid_0's multi_logloss: 1.08754\n",
            "[881]\tvalid_0's multi_logloss: 1.08753\n",
            "[882]\tvalid_0's multi_logloss: 1.08751\n",
            "[883]\tvalid_0's multi_logloss: 1.08752\n",
            "[884]\tvalid_0's multi_logloss: 1.08753\n",
            "[885]\tvalid_0's multi_logloss: 1.08752\n",
            "[886]\tvalid_0's multi_logloss: 1.08752\n",
            "[887]\tvalid_0's multi_logloss: 1.08754\n",
            "[888]\tvalid_0's multi_logloss: 1.08754\n",
            "[889]\tvalid_0's multi_logloss: 1.08754\n",
            "[890]\tvalid_0's multi_logloss: 1.08756\n",
            "[891]\tvalid_0's multi_logloss: 1.08754\n",
            "[892]\tvalid_0's multi_logloss: 1.08755\n",
            "[893]\tvalid_0's multi_logloss: 1.08754\n",
            "[894]\tvalid_0's multi_logloss: 1.08751\n",
            "[895]\tvalid_0's multi_logloss: 1.08753\n",
            "[896]\tvalid_0's multi_logloss: 1.08753\n",
            "[897]\tvalid_0's multi_logloss: 1.08753\n",
            "[898]\tvalid_0's multi_logloss: 1.0875\n",
            "[899]\tvalid_0's multi_logloss: 1.08748\n",
            "[900]\tvalid_0's multi_logloss: 1.08749\n",
            "[901]\tvalid_0's multi_logloss: 1.08748\n",
            "[902]\tvalid_0's multi_logloss: 1.08748\n",
            "[903]\tvalid_0's multi_logloss: 1.0875\n",
            "[904]\tvalid_0's multi_logloss: 1.08752\n",
            "[905]\tvalid_0's multi_logloss: 1.08752\n",
            "[906]\tvalid_0's multi_logloss: 1.08753\n",
            "[907]\tvalid_0's multi_logloss: 1.08753\n",
            "[908]\tvalid_0's multi_logloss: 1.08753\n",
            "[909]\tvalid_0's multi_logloss: 1.08755\n",
            "[910]\tvalid_0's multi_logloss: 1.08751\n",
            "[911]\tvalid_0's multi_logloss: 1.08752\n",
            "[912]\tvalid_0's multi_logloss: 1.08752\n",
            "[913]\tvalid_0's multi_logloss: 1.08752\n",
            "[914]\tvalid_0's multi_logloss: 1.08753\n",
            "[915]\tvalid_0's multi_logloss: 1.08753\n",
            "[916]\tvalid_0's multi_logloss: 1.0875\n",
            "[917]\tvalid_0's multi_logloss: 1.08752\n",
            "[918]\tvalid_0's multi_logloss: 1.08752\n",
            "[919]\tvalid_0's multi_logloss: 1.08751\n",
            "[920]\tvalid_0's multi_logloss: 1.0875\n",
            "[921]\tvalid_0's multi_logloss: 1.0875\n",
            "[922]\tvalid_0's multi_logloss: 1.0875\n",
            "[923]\tvalid_0's multi_logloss: 1.0875\n",
            "[924]\tvalid_0's multi_logloss: 1.08751\n",
            "[925]\tvalid_0's multi_logloss: 1.08755\n",
            "[926]\tvalid_0's multi_logloss: 1.08755\n",
            "[927]\tvalid_0's multi_logloss: 1.08755\n",
            "[928]\tvalid_0's multi_logloss: 1.08756\n",
            "[929]\tvalid_0's multi_logloss: 1.08755\n",
            "[930]\tvalid_0's multi_logloss: 1.08756\n",
            "[931]\tvalid_0's multi_logloss: 1.08755\n",
            "[932]\tvalid_0's multi_logloss: 1.08757\n",
            "[933]\tvalid_0's multi_logloss: 1.08758\n",
            "[934]\tvalid_0's multi_logloss: 1.08757\n",
            "[935]\tvalid_0's multi_logloss: 1.08761\n",
            "[936]\tvalid_0's multi_logloss: 1.08764\n",
            "[937]\tvalid_0's multi_logloss: 1.08762\n",
            "[938]\tvalid_0's multi_logloss: 1.08762\n",
            "[939]\tvalid_0's multi_logloss: 1.08761\n",
            "[940]\tvalid_0's multi_logloss: 1.0876\n",
            "[941]\tvalid_0's multi_logloss: 1.08763\n",
            "[942]\tvalid_0's multi_logloss: 1.0876\n",
            "[943]\tvalid_0's multi_logloss: 1.08763\n",
            "[944]\tvalid_0's multi_logloss: 1.08766\n",
            "[945]\tvalid_0's multi_logloss: 1.08767\n",
            "[946]\tvalid_0's multi_logloss: 1.08768\n",
            "[947]\tvalid_0's multi_logloss: 1.0877\n",
            "[948]\tvalid_0's multi_logloss: 1.08768\n",
            "[949]\tvalid_0's multi_logloss: 1.08768\n",
            "[950]\tvalid_0's multi_logloss: 1.08765\n",
            "[951]\tvalid_0's multi_logloss: 1.08765\n",
            "[952]\tvalid_0's multi_logloss: 1.08764\n",
            "Early stopping, best iteration is:\n",
            "[902]\tvalid_0's multi_logloss: 1.08748\n"
          ],
          "name": "stdout"
        },
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "LGBMClassifier(boosting_type='gbdt', class_weight=None, colsample_bytree=1.0,\n",
              "               importance_type='split', learning_rate=0.01, max_depth=-1,\n",
              "               min_child_samples=20, min_child_weight=0.001, min_split_gain=0.0,\n",
              "               n_estimators=1500, n_jobs=-1, num_leaves=31, objective=None,\n",
              "               random_state=None, reg_alpha=1, reg_lambda=0.0, silent=True,\n",
              "               subsample=1.0, subsample_for_bin=200000, subsample_freq=0)"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 78
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "lHUe5E19qFtE",
        "colab": {}
      },
      "source": [
        "lgb=LGBMClassifier(n_estimators=902,learning_rate=0.01,reg_alpha=1)"
      ],
      "execution_count": 79,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "vqSB_CkpqFtG",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 119
        },
        "outputId": "586a8a22-9fa3-4d9d-e404-f98c22bc7256"
      },
      "source": [
        "lgb.fit(x,y)"
      ],
      "execution_count": 80,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/plain": [
              "LGBMClassifier(boosting_type='gbdt', class_weight=None, colsample_bytree=1.0,\n",
              "               importance_type='split', learning_rate=0.01, max_depth=-1,\n",
              "               min_child_samples=20, min_child_weight=0.001, min_split_gain=0.0,\n",
              "               n_estimators=902, n_jobs=-1, num_leaves=31, objective=None,\n",
              "               random_state=None, reg_alpha=1, reg_lambda=0.0, silent=True,\n",
              "               subsample=1.0, subsample_for_bin=200000, subsample_freq=0)"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 80
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "mD3GuJSaqFtH",
        "colab": {}
      },
      "source": [
        "pred_lgb=lgb.predict_proba(Test.drop(columns=['Downloads']))"
      ],
      "execution_count": 81,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "8UnPv_hVqFtI",
        "colab": {}
      },
      "source": [
        "pred_lgb=pd.DataFrame(pred_lgb)"
      ],
      "execution_count": 83,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "u3JhaWb7qFtJ",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 204
        },
        "outputId": "28e14986-710f-4fa4-9501-0ffb65e274ab"
      },
      "source": [
        "pred_lgb.head()"
      ],
      "execution_count": 84,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>0</th>\n",
              "      <th>1</th>\n",
              "      <th>2</th>\n",
              "      <th>3</th>\n",
              "      <th>4</th>\n",
              "      <th>5</th>\n",
              "      <th>6</th>\n",
              "      <th>7</th>\n",
              "      <th>8</th>\n",
              "      <th>9</th>\n",
              "      <th>10</th>\n",
              "      <th>11</th>\n",
              "      <th>12</th>\n",
              "      <th>13</th>\n",
              "      <th>14</th>\n",
              "      <th>15</th>\n",
              "      <th>16</th>\n",
              "      <th>17</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>0.000606</td>\n",
              "      <td>0.005231</td>\n",
              "      <td>0.000054</td>\n",
              "      <td>0.000089</td>\n",
              "      <td>0.055887</td>\n",
              "      <td>0.000604</td>\n",
              "      <td>0.000271</td>\n",
              "      <td>0.518432</td>\n",
              "      <td>0.000176</td>\n",
              "      <td>0.000465</td>\n",
              "      <td>0.000582</td>\n",
              "      <td>0.000039</td>\n",
              "      <td>0.000089</td>\n",
              "      <td>0.159742</td>\n",
              "      <td>0.000161</td>\n",
              "      <td>0.000227</td>\n",
              "      <td>0.257285</td>\n",
              "      <td>0.000060</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>0.000668</td>\n",
              "      <td>0.151663</td>\n",
              "      <td>0.000060</td>\n",
              "      <td>0.000099</td>\n",
              "      <td>0.001699</td>\n",
              "      <td>0.008358</td>\n",
              "      <td>0.000299</td>\n",
              "      <td>0.570097</td>\n",
              "      <td>0.000938</td>\n",
              "      <td>0.000443</td>\n",
              "      <td>0.000707</td>\n",
              "      <td>0.000043</td>\n",
              "      <td>0.000098</td>\n",
              "      <td>0.025735</td>\n",
              "      <td>0.000178</td>\n",
              "      <td>0.000250</td>\n",
              "      <td>0.238558</td>\n",
              "      <td>0.000108</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>0.000658</td>\n",
              "      <td>0.054014</td>\n",
              "      <td>0.000066</td>\n",
              "      <td>0.000098</td>\n",
              "      <td>0.001075</td>\n",
              "      <td>0.698454</td>\n",
              "      <td>0.000295</td>\n",
              "      <td>0.001646</td>\n",
              "      <td>0.011924</td>\n",
              "      <td>0.000436</td>\n",
              "      <td>0.226744</td>\n",
              "      <td>0.000042</td>\n",
              "      <td>0.000097</td>\n",
              "      <td>0.000702</td>\n",
              "      <td>0.001100</td>\n",
              "      <td>0.000247</td>\n",
              "      <td>0.001121</td>\n",
              "      <td>0.001280</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>0.001973</td>\n",
              "      <td>0.007243</td>\n",
              "      <td>0.000070</td>\n",
              "      <td>0.000114</td>\n",
              "      <td>0.281218</td>\n",
              "      <td>0.000765</td>\n",
              "      <td>0.000343</td>\n",
              "      <td>0.471151</td>\n",
              "      <td>0.000239</td>\n",
              "      <td>0.001954</td>\n",
              "      <td>0.000611</td>\n",
              "      <td>0.000049</td>\n",
              "      <td>0.000113</td>\n",
              "      <td>0.211019</td>\n",
              "      <td>0.000213</td>\n",
              "      <td>0.000288</td>\n",
              "      <td>0.022543</td>\n",
              "      <td>0.000094</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>0.000866</td>\n",
              "      <td>0.007665</td>\n",
              "      <td>0.000080</td>\n",
              "      <td>0.000128</td>\n",
              "      <td>0.111768</td>\n",
              "      <td>0.000863</td>\n",
              "      <td>0.000388</td>\n",
              "      <td>0.655880</td>\n",
              "      <td>0.000251</td>\n",
              "      <td>0.000704</td>\n",
              "      <td>0.000781</td>\n",
              "      <td>0.000055</td>\n",
              "      <td>0.000127</td>\n",
              "      <td>0.160847</td>\n",
              "      <td>0.000230</td>\n",
              "      <td>0.000325</td>\n",
              "      <td>0.058957</td>\n",
              "      <td>0.000085</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>"
            ],
            "text/plain": [
              "         0         1         2   ...        15        16        17\n",
              "0  0.000606  0.005231  0.000054  ...  0.000227  0.257285  0.000060\n",
              "1  0.000668  0.151663  0.000060  ...  0.000250  0.238558  0.000108\n",
              "2  0.000658  0.054014  0.000066  ...  0.000247  0.001121  0.001280\n",
              "3  0.001973  0.007243  0.000070  ...  0.000288  0.022543  0.000094\n",
              "4  0.000866  0.007665  0.000080  ...  0.000325  0.058957  0.000085\n",
              "\n",
              "[5 rows x 18 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 84
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "uRXMESi-qSpZ",
        "colab": {}
      },
      "source": [
        "pred_blend=pred_lgb"
      ],
      "execution_count": 85,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "6VMam_55qSpe",
        "colab": {}
      },
      "source": [
        "m=list(range(18))\n",
        "for i in m:\n",
        "  pred_blend[i]=(0.6*pred_cat[i])+(0.4*pred_lgb[i])\n"
      ],
      "execution_count": 87,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "ZG7ac3CHqSpg",
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 204
        },
        "outputId": "c82c53e8-0731-411f-cdc2-1c35c19608e3"
      },
      "source": [
        "pred_blend.head()"
      ],
      "execution_count": 88,
      "outputs": [
        {
          "output_type": "execute_result",
          "data": {
            "text/html": [
              "<div>\n",
              "<style scoped>\n",
              "    .dataframe tbody tr th:only-of-type {\n",
              "        vertical-align: middle;\n",
              "    }\n",
              "\n",
              "    .dataframe tbody tr th {\n",
              "        vertical-align: top;\n",
              "    }\n",
              "\n",
              "    .dataframe thead th {\n",
              "        text-align: right;\n",
              "    }\n",
              "</style>\n",
              "<table border=\"1\" class=\"dataframe\">\n",
              "  <thead>\n",
              "    <tr style=\"text-align: right;\">\n",
              "      <th></th>\n",
              "      <th>0</th>\n",
              "      <th>1</th>\n",
              "      <th>2</th>\n",
              "      <th>3</th>\n",
              "      <th>4</th>\n",
              "      <th>5</th>\n",
              "      <th>6</th>\n",
              "      <th>7</th>\n",
              "      <th>8</th>\n",
              "      <th>9</th>\n",
              "      <th>10</th>\n",
              "      <th>11</th>\n",
              "      <th>12</th>\n",
              "      <th>13</th>\n",
              "      <th>14</th>\n",
              "      <th>15</th>\n",
              "      <th>16</th>\n",
              "      <th>17</th>\n",
              "    </tr>\n",
              "  </thead>\n",
              "  <tbody>\n",
              "    <tr>\n",
              "      <th>0</th>\n",
              "      <td>0.000340</td>\n",
              "      <td>0.014762</td>\n",
              "      <td>0.000025</td>\n",
              "      <td>0.000040</td>\n",
              "      <td>0.053012</td>\n",
              "      <td>0.000306</td>\n",
              "      <td>0.000116</td>\n",
              "      <td>0.594206</td>\n",
              "      <td>0.000106</td>\n",
              "      <td>0.000478</td>\n",
              "      <td>0.000460</td>\n",
              "      <td>0.000018</td>\n",
              "      <td>0.000040</td>\n",
              "      <td>0.173103</td>\n",
              "      <td>0.000075</td>\n",
              "      <td>0.000110</td>\n",
              "      <td>0.162769</td>\n",
              "      <td>0.000032</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>1</th>\n",
              "      <td>0.000325</td>\n",
              "      <td>0.165102</td>\n",
              "      <td>0.000079</td>\n",
              "      <td>0.000045</td>\n",
              "      <td>0.002693</td>\n",
              "      <td>0.004880</td>\n",
              "      <td>0.000133</td>\n",
              "      <td>0.544783</td>\n",
              "      <td>0.000737</td>\n",
              "      <td>0.000292</td>\n",
              "      <td>0.002266</td>\n",
              "      <td>0.000034</td>\n",
              "      <td>0.000047</td>\n",
              "      <td>0.024773</td>\n",
              "      <td>0.000271</td>\n",
              "      <td>0.000138</td>\n",
              "      <td>0.253262</td>\n",
              "      <td>0.000140</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>2</th>\n",
              "      <td>0.000271</td>\n",
              "      <td>0.048032</td>\n",
              "      <td>0.000131</td>\n",
              "      <td>0.000041</td>\n",
              "      <td>0.000453</td>\n",
              "      <td>0.734678</td>\n",
              "      <td>0.000121</td>\n",
              "      <td>0.000856</td>\n",
              "      <td>0.013928</td>\n",
              "      <td>0.000184</td>\n",
              "      <td>0.190556</td>\n",
              "      <td>0.000031</td>\n",
              "      <td>0.000041</td>\n",
              "      <td>0.000334</td>\n",
              "      <td>0.008420</td>\n",
              "      <td>0.000104</td>\n",
              "      <td>0.001070</td>\n",
              "      <td>0.000749</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>3</th>\n",
              "      <td>0.002033</td>\n",
              "      <td>0.005358</td>\n",
              "      <td>0.000032</td>\n",
              "      <td>0.000078</td>\n",
              "      <td>0.249180</td>\n",
              "      <td>0.000373</td>\n",
              "      <td>0.000164</td>\n",
              "      <td>0.481299</td>\n",
              "      <td>0.000125</td>\n",
              "      <td>0.006704</td>\n",
              "      <td>0.000407</td>\n",
              "      <td>0.000026</td>\n",
              "      <td>0.000092</td>\n",
              "      <td>0.222564</td>\n",
              "      <td>0.000113</td>\n",
              "      <td>0.000256</td>\n",
              "      <td>0.031151</td>\n",
              "      <td>0.000045</td>\n",
              "    </tr>\n",
              "    <tr>\n",
              "      <th>4</th>\n",
              "      <td>0.000647</td>\n",
              "      <td>0.016721</td>\n",
              "      <td>0.000035</td>\n",
              "      <td>0.000075</td>\n",
              "      <td>0.100072</td>\n",
              "      <td>0.000431</td>\n",
              "      <td>0.000227</td>\n",
              "      <td>0.619282</td>\n",
              "      <td>0.000146</td>\n",
              "      <td>0.001282</td>\n",
              "      <td>0.000665</td>\n",
              "      <td>0.000028</td>\n",
              "      <td>0.000098</td>\n",
              "      <td>0.192450</td>\n",
              "      <td>0.000127</td>\n",
              "      <td>0.000246</td>\n",
              "      <td>0.067424</td>\n",
              "      <td>0.000047</td>\n",
              "    </tr>\n",
              "  </tbody>\n",
              "</table>\n",
              "</div>"
            ],
            "text/plain": [
              "         0         1         2   ...        15        16        17\n",
              "0  0.000340  0.014762  0.000025  ...  0.000110  0.162769  0.000032\n",
              "1  0.000325  0.165102  0.000079  ...  0.000138  0.253262  0.000140\n",
              "2  0.000271  0.048032  0.000131  ...  0.000104  0.001070  0.000749\n",
              "3  0.002033  0.005358  0.000032  ...  0.000256  0.031151  0.000045\n",
              "4  0.000647  0.016721  0.000035  ...  0.000246  0.067424  0.000047\n",
              "\n",
              "[5 rows x 18 columns]"
            ]
          },
          "metadata": {
            "tags": []
          },
          "execution_count": 88
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab_type": "code",
        "id": "1WN_pfJeqSph",
        "colab": {}
      },
      "source": [
        "pred_blend.to_csv(\"submission.csv\",index=False)"
      ],
      "execution_count": 89,
      "outputs": []
    }
  ]
}